Skip to content

Commit 57809c2

Browse files
committed
fix: madwizard hand-off needs to look at parsedOptions.profile, too
1 parent d3bd90d commit 57809c2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

plugins/plugin-madwizard/src/plugin.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@ export function doMadwizard(
7979

8080
// decide which profile to use
8181
const profile =
82-
parsedOptions.p || // specified on command line
82+
parsedOptions.p ||
83+
parsedOptions.profile || // specified on command line
8384
(await import("madwizard").then((_) => _.Profiles.lastUsed())) || // last used profile
8485
"default" // the default, if no lastUsed is found!
8586

0 commit comments

Comments
 (0)