chore: lint

This commit is contained in:
bholmesdev 2023-03-03 11:42:41 -05:00
parent bb6d871702
commit 36d12c1ab9

View file

@ -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;
} }