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 4a50fe3 commit 7033e6aCopy full SHA for 7033e6a
lib/build.js
@@ -52,7 +52,7 @@ async function build (gyp, argv) {
52
}
53
54
55
- config = JSON.parse(data.replace(/#.+\n/, ''))
+ config = JSON.parse(data.replace(/#.+\r?\n/, ''))
56
57
// get the 'arch', 'buildType', and 'nodeDir' vars from the config
58
buildType = config.target_defaults.default_configuration
0 commit comments