Skip to content

Commit

Permalink
fix: update find-visualstudio to remove support for VS2015
Browse files Browse the repository at this point in the history
feat: remove support for VS2015 in Node.js >=19 (#2746)
nodejs/node-gyp@131d1a4
  • Loading branch information
Julusian committed Feb 13, 2023
1 parent 6eb7ea3 commit 14525bf
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lib/import/find-visualstudio.js
Expand Up @@ -341,7 +341,12 @@ VisualStudioFinder.prototype = {
},

// Find an installation of Visual Studio 2015 to use
findVisualStudio2015: function findVisualStudio2015 (cb) {
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 14525bf

Please sign in to comment.