Skip to content

Commit 7508028

Browse files
fix: replace back slashes on changed files (#206)
1 parent 19a5f3e commit 7508028

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LintDirtyModulesPlugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export default class LintDirtyModulesPlugin {
5353

5454
for (const [filename, timestamp] of fileTimestamps.entries()) {
5555
if (hasFileChanged(filename, timestamp) && isMatch(filename, glob)) {
56-
changedFiles.push(filename);
56+
changedFiles.push(filename.replace(/\\/g, '/'));
5757
}
5858
}
5959

0 commit comments

Comments
 (0)