Skip to content

Commit

Permalink
fix: resolve relative path on windows (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
pikax committed Jul 2, 2020
1 parent 61adfc4 commit 9116c9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export interface SiteConfig<ThemeConfig = any> {
}

const resolve = (root: string, file: string) =>
path.join(root, `.vitepress`, file)
path.resolve(root, `.vitepress`, file)

export async function resolveConfig(
root: string = process.cwd()
Expand Down

0 comments on commit 9116c9c

Please sign in to comment.