mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-04-15 01:34:02 +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;
|
||||
}
|
||||
|
||||
const relativePath = file.relative;
|
||||
const relativePath = file.relative.replaceAll("\\", "/");
|
||||
const content = file.contents.toString();
|
||||
const re = relativePath.endsWith(".html") ? htmlRE : jsRE;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user