Skip to content

Commit

Permalink
fix: deleteLocalFile join (#6654)
Browse files Browse the repository at this point in the history
  • Loading branch information
rarkins committed Jul 2, 2020
1 parent f3d920c commit a196db4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/util/gitfs/fs/index.ts
Expand Up @@ -49,7 +49,8 @@ export async function writeLocalFile(
}

export async function deleteLocalFile(fileName: string): Promise<void> {
await fs.remove(fileName);
const localFileName = join(localDir, fileName);
await fs.remove(localFileName);
}

// istanbul ignore next
Expand Down

0 comments on commit a196db4

Please sign in to comment.