Permalink
Browse files

[fix] path.existsSync was moved to fs.existsSync

  • Loading branch information...
1 parent 20d70b7 commit bc3fe8257c8843119cdcf9e45c3d64833f91144f @blakmatrix blakmatrix committed Jul 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/winser
View
@@ -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;

0 comments on commit bc3fe82

Please sign in to comment.