Skip to content

Commit

Permalink
refactor: use / on win
Browse files Browse the repository at this point in the history
  • Loading branch information
toyobayashi authored Jan 26, 2024
1 parent 5237e37 commit 5ed7d52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/configure.js
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ async function configure (gyp, argv) {

let commonGypiDir = path.dirname(commonGypi)
if (win) {
commonGypiDir = commonGypiDir.replace(/\\/g, '\\\\')
commonGypiDir = commonGypiDir.replace(/\\/g, '/')
}
argv.push('-I', addonGypi)
argv.push('-I', commonGypi)
Expand Down

0 comments on commit 5ed7d52

Please sign in to comment.