We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fcfe737 + 64db14c commit 72b2ed9Copy full SHA for 72b2ed9
lib/helpers/create-fixer.js
@@ -19,7 +19,7 @@ const createFixer = (options = {}) => {
19
20
const newPath = resolvedPath.replace(aliasPath, '')
21
22
- const replacement = path.join(aliasMatch, newPath)
+ const replacement = path.normalize(path.join(aliasMatch, newPath))
23
24
return (fixer) => fixer.replaceTextRange([source.range[0] + 1, source.range[1] - 1], replacement)
25
}
0 commit comments