wallet-core/node_modules/walkdir/test/comparison/finditsynctest.js

16 lines
236 B
JavaScript
Raw Normal View History

2017-05-03 15:35:00 +02:00
var findit = require('findit');
var files = findit.findSync(process.argv[2]||'./');
var count = files.length;
console.log(files);
files = files.join("\n");
process.stdout.write(files+"\n");
console.log('found '+count+' files');