diff options
Diffstat (limited to 'node_modules/node-gyp/lib/find-python.js')
-rw-r--r-- | node_modules/node-gyp/lib/find-python.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/node_modules/node-gyp/lib/find-python.js b/node_modules/node-gyp/lib/find-python.js index e79bc50d5..fabc4630f 100644 --- a/node_modules/node-gyp/lib/find-python.js +++ b/node_modules/node-gyp/lib/find-python.js @@ -226,7 +226,7 @@ PythonFinder.prototype = { } this.addLog(`- version is "${version}"`) - const range = semver.Range(this.semverRange) + const range = new semver.Range(this.semverRange) var valid = false try { valid = range.test(version) |