const {readdirSync} = require('fs');

function listDir(dir) {
	readdirSync(dir)
		.filter(f => f.endsWith('.cc'))
		.forEach(f => console.log(dir + '/' + f));
}

listDir('src');
listDir('src/UiArea');
listDir('src/arch/win32');

					
const readdirSync = require('fs').readdirSync;

function listDir(dir) {
	readdirSync(dir)
		.filter(f => f.endsWith('.cc'))
		.forEach(f => console.log(dir + '/' + f));
}

listDir('src');
listDir('src/UiArea');
listDir('src/arch/win32');

Fix unsupported syntax in node 4
Fix unsupported syntax in node 4
