Skip to content

Commit d00c9b5

Browse files
committed
fix: blackslash on configureLocalesPaths
1 parent 7ab8269 commit d00c9b5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/commands/configLocalePaths.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,10 @@ export class ConfigLocalesGuide {
4646
return item.path.slice(1)
4747
return item.path
4848
})
49-
.map(pa => path.relative(rootPath, pa))
49+
.map(pa => path
50+
.relative(rootPath, pa)
51+
.replace(/\\/g, '/'),
52+
)
5053
}
5154

5255
static async success() {

0 commit comments

Comments
 (0)