have statFileSync() return something since the caller checks the file stats

This commit is contained in:
lawrencium 2017-04-08 16:10:53 -07:00
parent c084746b3e
commit fe7ccf93d6
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ const Launcher = {
this.req('fs').stat(path, (err, stats) => callback(stats, err));
},
statFileSync: function(path) {
this.req('fs').statSync(path);
return this.req('fs').statSync(path);
},
mkdir: function(dir, callback) {
const fs = this.req('fs');