Skip to content

Commit 899b70a

Browse files
committed
test(studio): the menu style scan names files with forward slashes on Windows too
1 parent 652aa74 commit 899b70a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/studio/src/components/ui/menuStyle.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ function sources(dir: string): string[] {
2323
}
2424

2525
const files = sources(root).map((path) => ({
26-
name: relative(root, path),
26+
name: relative(root, path).replaceAll("\\", "/"),
2727
text: readFileSync(path, "utf8"),
2828
}));
2929

0 commit comments

Comments
 (0)