mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 05:35:13 +00:00
chore: fix typo in comment (#10148)
This commit is contained in:
parent
28a2a91b64
commit
e908ebdb51
@ -141,7 +141,7 @@ async function existsSensitive (path: string) {
|
|||||||
return dirFiles.includes(basename(path))
|
return dirFiles.includes(basename(path))
|
||||||
}
|
}
|
||||||
|
|
||||||
// Usage note: We assume path existance is already ensured
|
// Usage note: We assume path existence is already ensured
|
||||||
async function isDirectory (path: string) {
|
async function isDirectory (path: string) {
|
||||||
return (await fsp.lstat(path)).isDirectory()
|
return (await fsp.lstat(path)).isDirectory()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user