Skip to content

Conversation

@mitchell-as
Copy link
Collaborator

@mitchell-as mitchell-as commented Dec 16, 2024

BugDX-3193 Windows ST install fail if install as Administrator

Also assert installing as admin prompt happens on Windows.

@mitchell-as mitchell-as changed the title Assert installing as admin prompt happens on Windows. Force prompt option should override non-interactive option. Dec 16, 2024
}

if !p.isInteractive {
} else if !p.isInteractive {
Copy link
Collaborator Author

@mitchell-as mitchell-as Dec 17, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The bug here is that we were checking for force and setting nonInteractiveResponse but if !p.isInteractive is also true (it's usually not), then the nonInteractiveResponse we just set would be overwritten with a different value. Oops.

Same applies to the other changes in this PR.

@mitchell-as mitchell-as marked this pull request as ready for review December 17, 2024 18:21
@mitchell-as mitchell-as merged commit 370782b into version/0-48-0-RC1 Dec 17, 2024
8 checks passed
@mitchell-as mitchell-as deleted the mitchell/dx-3193 branch December 17, 2024 18:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants