Browse files

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

Hi! I fixed some code for you!
  • Loading branch information...
2 parents 3a27406 + 301a83b commit 071f843ee51a07723964e4e6fdc0b9b9246f8529 @ryankee committed Mar 14, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/git.js
View
2 lib/git.js
@@ -22,7 +22,7 @@
git.target = path.normalize(target + '/.git/');
git.failure = path.normalize(target + '/.git/hooks/build-failed');
git.success = path.normalize(target + '/.git/hooks/build-worked');
- return path.exists(git.target, function(exists) {
+ return fs.exists(git.target, function(exists) {
if (exists === false) {
console.log(("'" + target + "' is not a valid Git repo").red);
process.exit(1);

0 comments on commit 071f843

Please sign in to comment.