Skip to content

Commit a424db4

Browse files
committed
fix: another fix for profiles-path option; it wasn't always taking
1 parent d25b805 commit a424db4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: plugins/plugin-madwizard/src/plugin.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ export function doMadwizard({ readonlyUI = true, task, withFilepath = true, cb,
137137
undefined,
138138
{
139139
profile,
140-
profilesPath: parsedOptions.P,
140+
profilesPath: parsedOptions["profiles-path"] || parsedOptions.P,
141141
store: parsedOptions.s || process.env.GUIDEBOOK_STORE,
142142
verbose: parsedOptions.V,
143143
interactive: parsedOptions.i || !parsedOptions.y,

0 commit comments

Comments
 (0)