Skip to content

Commit 131d1a4

Browse files
authored
feat: remove support for VS2015 in Node.js >=19 (#2746)
1 parent 7d0c83d commit 131d1a4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/find-visualstudio.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,11 @@ VisualStudioFinder.prototype = {
347347

348348
// Find an installation of Visual Studio 2015 to use
349349
findVisualStudio2015: function findVisualStudio2015 (cb) {
350+
if (this.nodeSemver.major >= 19) {
351+
this.addLog(
352+
'not looking for VS2015 as it is only supported up to Node.js 18')
353+
return cb(null)
354+
}
350355
return this.findOldVS({
351356
version: '14.0',
352357
versionMajor: 14,

0 commit comments

Comments
 (0)