We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89f5e01 commit 36ebfdcCopy full SHA for 36ebfdc
lib/build.js
@@ -46,7 +46,7 @@ function build (gyp, argv, callback) {
46
}
47
return
48
49
- config = JSON.parse(data.replace(/#.+[\n\r]+/, ''))
+ config = JSON.parse(data.replace(/#.+\r?\n/, ''))
50
51
// get the 'arch', 'buildType', and 'nodeDir' vars from the config
52
buildType = config.target_defaults.default_configuration
0 commit comments