Skip to content

Commit

Permalink
refactor(projects): update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
honghuangdc committed Sep 8, 2023
1 parent 47dca7c commit e072dbc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/core/src/core/path.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ export function getFullPathOfPageGlob(glob: string, pageDir: string, cwd: string
}

/**
* get the full path of the page glob
* @param normalPath the normal path
* normalize the windows path
* @param windowsPath the windows path
*/
export function normalizeWindowsPath(normalPath: string) {
return normalPath.replace(/\\/g, '/');
export function normalizeWindowsPath(windowsPath: string) {
return windowsPath.replace(/\\/g, '/');
}

0 comments on commit e072dbc

Please sign in to comment.