Revert "Update copy-to-examples.js"

This reverts commit d844f48e87.
This commit is contained in:
Leonardo Farroco 2021-10-03 16:28:48 -03:00
parent 33f242a2e0
commit 0bec013047

View file

@ -58,11 +58,11 @@ if (fs.existsSync(dest))
const options = {
path: './src',
extensions: [ 'js' ]
extensions: [ '.js' ]
};
sloc(options).then((res) => {
console.log('Source files: ' + res.files + '\nLines of code: ' + res.sloc);
console.log('Source files: ' + res.sloc.files + '\nLines of code: ' + res.sloc.sloc);
});
});