mirror of
https://github.com/photonstorm/phaser
synced 2024-11-26 22:52:14 +00:00
parent
33f242a2e0
commit
0bec013047
1 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
});
|
||||
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue