chore: lint
This commit is contained in:
parent
bb6d871702
commit
36d12c1ab9
1 changed files with 2 additions and 2 deletions
|
@ -106,6 +106,6 @@ export function getAstroConfigPath(fs: typeof fsMod, root: string): string | und
|
||||||
/**
|
/**
|
||||||
* @see 'astro/src/core/path.ts'
|
* @see 'astro/src/core/path.ts'
|
||||||
*/
|
*/
|
||||||
export function prependForwardSlash(path: string) {
|
export function prependForwardSlash(str: string) {
|
||||||
return path[0] === '/' ? path : '/' + path;
|
return str[0] === '/' ? str : '/' + str;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue