Skip to content

Commit

Permalink
fix generator argument to not append current path
Browse files Browse the repository at this point in the history
  • Loading branch information
wesleytodd committed Oct 6, 2017
1 parent d06236b commit 2df3fb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/migrate-create
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function create (name) {
}

// Load the template generator
var gen = require(path.resolve(process.cwd(), program.generator))
var gen = require(program.generator)
gen({
name: name,
dateFormat: program.dateFormat,
Expand Down

0 comments on commit 2df3fb2

Please sign in to comment.