Skip to content

Commit 51cde82

Browse files
Merge pull request #20844 from nicolo-ribaudo/fix-lint-licenses-windows
Fix `lint-licenses` task on windows
2 parents 873378b + f11d12d commit 51cde82

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

gulpfile.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2109,7 +2109,7 @@ gulp.task("lint-licenses", function (done) {
21092109
return;
21102110
}
21112111

2112-
const relativePath = file.relative;
2112+
const relativePath = file.relative.replaceAll("\\", "/");
21132113
const content = file.contents.toString();
21142114
const re = relativePath.endsWith(".html") ? htmlRE : jsRE;
21152115

0 commit comments

Comments
 (0)