Skip to content

Commit

Permalink
Force Linux-style separator for the path to ICU data for the standalo…
Browse files Browse the repository at this point in the history
…ne binary
  • Loading branch information
yhatt committed Sep 27, 2024
1 parent cbdd56f commit 15dd273
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/icu.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,5 @@ export const fetchIcu = async () => {
})

// Return the relative path to the ICU data from the project root
return path.relative(path.join(__dirname, '../'), icuDat)
return path.relative(path.join(__dirname, '../'), icuDat).replace(/\\/g, '/')
}

0 comments on commit 15dd273

Please sign in to comment.