mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-06-11 12:41:03 +02:00
Fix lint-licenses task on windows
This commit is contained in:
parent
873378b718
commit
f11d12dcc2
@ -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