Skip to content

Commit

Permalink
Update lib/build.js
Browse files Browse the repository at this point in the history
  • Loading branch information
lukekarrys authored Oct 28, 2023
1 parent 89f5e01 commit 36ebfdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function build (gyp, argv, callback) {
}
return
}
config = JSON.parse(data.replace(/#.+[\n\r]+/, ''))
config = JSON.parse(data.replace(/#.+\r?\n/, ''))

// get the 'arch', 'buildType', and 'nodeDir' vars from the config
buildType = config.target_defaults.default_configuration
Expand Down

0 comments on commit 36ebfdc

Please sign in to comment.