Skip to content

Commit 1012297

Browse files
committed
fix: Don't ask for parameters on uninstall
1 parent 1f06d22 commit 1012297

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## v0.9.7
4+
5+
* Fix a bug where sentry-wizard will ask for parameters on uninstall
6+
37
## v0.9.6
48

59
* Fix electron symbol upload script

lib/Setup.ts

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,21 @@ export async function run(argv: any): Promise<{}> {
1010
if (args.uninstall === undefined) {
1111
args.uninstall = false;
1212
}
13-
let steps = [Step.Initial, Step.Welcome, Step.ChooseIntegration, Step.ShouldConfigure];
13+
let steps = [
14+
Step.Initial,
15+
Step.Welcome,
16+
Step.ChooseIntegration,
17+
Step.ShouldConfigure,
18+
];
1419
if (args.uninstall === false) {
1520
steps = _.concat(
1621
steps,
1722
Step.OpenSentry,
1823
Step.WaitForSentry,
19-
Step.SentryProjectSelector
24+
Step.SentryProjectSelector,
25+
Step.PromptForParameters,
2026
);
2127
}
22-
steps = _.concat(steps, Step.PromptForParameters, Step.ConfigureProject, Step.Result);
28+
steps = _.concat(steps, Step.ConfigureProject, Step.Result);
2329
return startWizard(args, ...steps);
2430
}

0 commit comments

Comments
 (0)