Skip to content

Commit

Permalink
Merge pull request #82 from fordkilleen/master
Browse files Browse the repository at this point in the history
use posix true to force windows to use / as path separator
  • Loading branch information
rodrigograca31 committed May 6, 2023
2 parents a575d7e + a073aab commit 7d57fec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ module.exports = {
}
return new Promise(function (resolve, reject) {
// TODO: reject promise ?
glob(providedTranslationPathPattern).forEach(function (langFile) {
glob(providedTranslationPathPattern, {posix: true}).forEach(function (langFile) {
var matches = langFile.match(providedTranslationPathRegex);
if (matches) {
targetLangArr.push({
Expand Down

0 comments on commit 7d57fec

Please sign in to comment.