chore: correct factual error in comment
This commit is contained in:
parent
ffa6d1193b
commit
2d6eed4c83
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ export default async function downloadBlobFromPointer(
|
|||
|
||||
const blob = await bodyToBuffer(lfsObjectBody);
|
||||
|
||||
// Write LFS cache for this object, if cache path is still accessible and unoccupied.
|
||||
// Write LFS cache for this object, if cache path is accessible.
|
||||
if (await isWriteable(objectPath)) {
|
||||
await fsp.mkdir(path.dirname(objectPath), { recursive: true });
|
||||
await fsp.writeFile(objectPath, blob);
|
||||
|
|
Loading…
Reference in a new issue