Merge pull request #20844 from nicolo-ribaudo/fix-lint-licenses-windows

Fix `lint-licenses` task on windows
This commit is contained in:
Jonas Jenwald 2026-03-10 18:05:58 +01:00 committed by GitHub
commit 51cde824ec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;