Skip to content

Commit abc98bc

Browse files
committed
style(cli): fix the linting (on windows)
1 parent ceab89b commit abc98bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/@vue/cli-service/__tests__/css.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const findLoaders = (config, lang, index) => {
4545
throw new Error(`rule not found for ${lang}`)
4646
}
4747
return rule.use.map(({ loader }) => {
48-
const match = loader.match(/([^/]+)-loader/)
48+
const match = loader.match(/([^\\/]+)-loader/)
4949
return match ? match[1] : loader
5050
})
5151
}

0 commit comments

Comments
 (0)