Merge pull request #1 from node-migrator-bot/clean
Hi! I fixed some code for you!
This commit is contained in:
commit
5ca89c942f
|
@ -26,7 +26,7 @@ if (process.argv.length < 3) return usage();
|
|||
var basename = process.argv.slice(2).shift(),
|
||||
indexFile = path.join(WNdb.path, basename);
|
||||
|
||||
if (!path.existsSync(indexFile)) {
|
||||
if (!fs.existsSync(indexFile)) {
|
||||
console.error('Error: no such file %s', indexFile);
|
||||
process.exit(10);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue