Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix current working dir path

  • Loading branch information...
commit 5e5adad4919b3256772638e3640edb33a8e31122 1 parent e05e820
@joaosa joaosa authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  bin/migrate
View
2  bin/migrate
@@ -196,7 +196,7 @@ function pad(n) {
function create(name) {
var path = 'migrations/' + name + '.js';
- log('create', join(cwd, path));
+ log('create', join(process.cwd(), path));
fs.writeFileSync(path, template);
}
Please sign in to comment.
Something went wrong with that request. Please try again.