Skip to content

Commit

Permalink
[fix] path.existsSync was moved to fs.existsSync
Browse files Browse the repository at this point in the history
  • Loading branch information
blakmatrix committed Jul 7, 2012
1 parent 20d70b7 commit bc3fe82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/winser
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ if (process.platform !== "win32"){
return;
}

if (!path.existsSync(path.join(program.path, "package.json"))){
if (!fs.existsSync(path.join(program.path, "package.json"))){
log(program.path + " doesn't seems to be a node application path.\nIt doesn't contains a package.json file.");
process.exit();
return;
Expand Down

0 comments on commit bc3fe82

Please sign in to comment.