Skip to content

Commit ebdd75d

Browse files
BorntraegerMarcwzrdtales
authored andcommitted
fix(progamableApi): cmdOptions get passed into setDefaultArgv now
Signed-off-by: Marc Bornträger <[email protected]>
1 parent 531c19e commit ebdd75d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

api.js

+2
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ function dbmigrate (plugins, isModule, options, callback) {
5656

5757
if (typeof options.cwd === 'string') internals.cwd = options.cwd;
5858
else internals.cwd = process.cwd();
59+
60+
if (typeof options.cmdOptions === 'object') internals.cmdOptions = options.cmdOptions;
5961
} else internals.cwd = process.cwd();
6062

6163
if (typeof isModule === 'function') {

0 commit comments

Comments
 (0)