chore: correct factual error in comment

This commit is contained in:
Anton Strogonoff 2021-12-02 14:14:48 +01:00
parent ffa6d1193b
commit 2d6eed4c83

View file

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