mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-07-24 16:07:22 +02:00
Merge pull request #20844 from nicolo-ribaudo/fix-lint-licenses-windows
Fix `lint-licenses` task on windows
This commit is contained in:
commit
51cde824ec
@ -2109,7 +2109,7 @@ gulp.task("lint-licenses", function (done) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
const relativePath = file.relative;
|
const relativePath = file.relative.replaceAll("\\", "/");
|
||||||
const content = file.contents.toString();
|
const content = file.contents.toString();
|
||||||
const re = relativePath.endsWith(".html") ? htmlRE : jsRE;
|
const re = relativePath.endsWith(".html") ? htmlRE : jsRE;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user