Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

Commit

Permalink
undo == true
Browse files Browse the repository at this point in the history
  • Loading branch information
abentkamp committed Jul 13, 2024
1 parent 1a13d52 commit 99ee38b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions vscode-lean4/src/diagnostics/setupNotifs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export async function displaySetupWarning(
if (!shouldShowSetupWarnings()) {
return 'Warning'
}
if (options.modal == true) {
if (options.modal) {
const choice = await displayModalWarning(message)
return choice === 'Proceed' ? 'Warning' : 'Fatal'
}
Expand Down Expand Up @@ -169,7 +169,7 @@ export async function displaySetupWarningWithOutput(
if (!shouldShowSetupWarnings()) {
return 'Warning'
}
if (options.modal == true) {
if (options.modal) {
const choice = await displayModalWarningWithOutput(message)
return choice === 'Proceed' ? 'Warning' : 'Fatal'
}
Expand All @@ -184,7 +184,7 @@ export async function displaySetupWarningWithSetupGuide(
if (!shouldShowSetupWarnings()) {
return 'Warning'
}
if (options.modal == true) {
if (options.modal) {
const choice = await displayModalWarningWithSetupGuide(message)
return choice === 'Proceed' ? 'Warning' : 'Fatal'
}
Expand Down

0 comments on commit 99ee38b

Please sign in to comment.