Skip to content

Commit

Permalink
Revert changes to lib/find-visualstudio.js
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss authored Jan 13, 2025
1 parent dce3aef commit 03b9529
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lib/find-visualstudio.js
Original file line number Diff line number Diff line change
Expand Up @@ -385,8 +385,7 @@ class VisualStudioFinder {
ret.versionYear = 2019
return ret
}
// Fix this when Visual Studio 2025 ships
if ([17, 18].includes(ret.versionMajor)) {
if (ret.versionMajor === 17) {

Check failure on line 388 in lib/find-visualstudio.js

View workflow job for this annotation

GitHub Actions / Lint JS

Expected indentation of 4 spaces but found 0
ret.versionYear = 2022
return ret
}
Expand Down Expand Up @@ -457,8 +456,6 @@ class VisualStudioFinder {
return 'v142'
} else if (versionYear === 2022) {
return 'v143'
} else if (versionYear === 2025) {
return 'v143' // Fix this when Visual Studio 2025 ships
}
this.log.silly('- invalid versionYear:', versionYear)
return null
Expand Down

0 comments on commit 03b9529

Please sign in to comment.