Skip to content

Commit f11d12d

Browse files
Fix lint-licenses task on windows
1 parent 873378b commit f11d12d

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)