Update copy-to-examples.js

This commit is contained in:
Richard Davey 2021-09-28 15:59:46 +01:00
parent 9bebfb3613
commit d844f48e87

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.sloc.files + '\nLines of code: ' + res.sloc.sloc);
console.log('Source files: ' + res.files + '\nLines of code: ' + res.sloc);
});
});