Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Commit

Permalink
Clean up temp directory created by the extension #2188
Browse files Browse the repository at this point in the history
  • Loading branch information
ramya-rao-a committed Mar 8, 2019
1 parent a838a70 commit 4a241f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -885,7 +885,7 @@ export function getTempFilePath(name: string): string {
}

export function cleanupTempDir() {
if (!tmpDir) {
if (tmpDir) {
rmdirRecursive(tmpDir);
}
tmpDir = undefined;
Expand Down

0 comments on commit 4a241f8

Please sign in to comment.