Merge pull request #1 from node-migrator-bot/clean

Hi! I fixed some code for you!
This commit is contained in:
Moos 2013-04-13 22:22:17 -07:00
commit 5ca89c942f
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}