mirror of https://github.com/keeweb/keeweb.git
have statFileSync() return something since the caller checks the file stats
This commit is contained in:
parent
c084746b3e
commit
fe7ccf93d6
|
@ -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');
|
||||
|
|
Loading…
Reference in New Issue