Skip to content

Commit afe9f35

Browse files
committed
fix: fix windows paths for deeper nested paths as well
1 parent 994eb00 commit afe9f35

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/docs/VuepressDocumentationSiteGenerator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ function getMarkdownFiles(dir: string) {
7575
(x) => x.isFile() && !x.name.startsWith(".") && x.name.endsWith(".md")
7676
)
7777
.map((x) => "/" + path.relative("docs/", path.join(dir, x.name)))
78-
.map((x) => x.replace(path.sep, '/')); //on windows, this needs to be done to cleanly define URL paths
78+
.map((x) => x.replaceAll(path.sep, '/')); //on windows, this needs to be done to cleanly define URL paths
7979
8080
return mdFiles;
8181
}

src/info.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// see https://stackoverflow.com/questions/61829367/node-js-dirname-filename-equivalent-in-deno
2-
export const VERSION = "0.15.1";
2+
export const VERSION = "0.15.2";
33

44
/**
55
* The flags we want collie to be invoked with.

0 commit comments

Comments
 (0)