chore: fix typo in comment (#10148)

This commit is contained in:
Ikko Eltociear Ashimine 2023-01-19 22:20:53 +09:00 committed by GitHub
parent 28a2a91b64
commit e908ebdb51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -141,7 +141,7 @@ async function existsSensitive (path: string) {
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) {
return (await fsp.lstat(path)).isDirectory()
}