Skip to content

Commit

Permalink
feat: remove support for VS2015 in Node.js >=19 (#2746)
Browse files Browse the repository at this point in the history
  • Loading branch information
targos committed Oct 8, 2022
1 parent 7d0c83d commit 131d1a4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/find-visualstudio.js
Expand Up @@ -347,6 +347,11 @@ VisualStudioFinder.prototype = {

// Find an installation of Visual Studio 2015 to use
findVisualStudio2015: function findVisualStudio2015 (cb) {
if (this.nodeSemver.major >= 19) {
this.addLog(
'not looking for VS2015 as it is only supported up to Node.js 18')
return cb(null)
}
return this.findOldVS({
version: '14.0',
versionMajor: 14,
Expand Down

0 comments on commit 131d1a4

Please sign in to comment.