Skip to content

Commit

Permalink
fix: replace back slashes on changed files (#206)
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardogobbosouza committed Feb 8, 2020
1 parent 19a5f3e commit 7508028
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LintDirtyModulesPlugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export default class LintDirtyModulesPlugin {

for (const [filename, timestamp] of fileTimestamps.entries()) {
if (hasFileChanged(filename, timestamp) && isMatch(filename, glob)) {
changedFiles.push(filename);
changedFiles.push(filename.replace(/\\/g, '/'));
}
}

Expand Down

0 comments on commit 7508028

Please sign in to comment.