mirror of
https://github.com/electron/node-gyp.git
synced 2025-08-15 12:58:19 +02:00
feat: remove support for VS2015 in Node.js >=19 (#2746)
This commit is contained in:
parent
7d0c83d2a9
commit
131d1a463b
1 changed files with 5 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue