Skip to content

Commit 3590955

Browse files
sibbngantfu
authored andcommitted
fix: windows build
1 parent 79e4f61 commit 3590955

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/context.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ export class Context {
9999
}
100100

101101
relative(path: string) {
102-
return relative(this.root, path)
102+
return relative(this.root, path).replace(/\\/g, '/')
103103
}
104104

105105
setImports(key: string, names: string[]) {

0 commit comments

Comments
 (0)