Skip to content

Commit

Permalink
Update config.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
3vorp committed Apr 13, 2024
1 parent 3749bcd commit b85cee6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { fileURLToPath } from "url";
*/
function walkSync(dir: string, filelist: string[] = []) {
// add trailing slash if not present
if (dir.at(-1) != sep) dir += sep;
if (!dir.endsWith(sep)) dir += sep;
for (const file of readdirSync(dir)) {
if (statSync(dir + file).isDirectory())
// read directories inside directories recursively
Expand Down

0 comments on commit b85cee6

Please sign in to comment.