Skip to content

Commit

Permalink
fix(progamableApi): cmdOptions get passed into setDefaultArgv now
Browse files Browse the repository at this point in the history
Signed-off-by: Marc Bornträger <marc.borntraeger@gmail.com>
  • Loading branch information
BorntraegerMarc authored and wzrdtales committed Mar 27, 2018
1 parent 531c19e commit ebdd75d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ function dbmigrate (plugins, isModule, options, callback) {

if (typeof options.cwd === 'string') internals.cwd = options.cwd;
else internals.cwd = process.cwd();

if (typeof options.cmdOptions === 'object') internals.cmdOptions = options.cmdOptions;
} else internals.cwd = process.cwd();

if (typeof isModule === 'function') {
Expand Down

0 comments on commit ebdd75d

Please sign in to comment.