Skip to content

Commit

Permalink
Merge pull request #316 from ardriveapp/dev
Browse files Browse the repository at this point in the history
Release v1.20.1
  • Loading branch information
javdhu authored Aug 12, 2022
2 parents 8156fc9 + abf3753 commit 753a1e2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ardrive-cli",
"version": "1.20.0",
"version": "1.20.1",
"description": "The ArDrive Command Line Interface (CLI is a Node.js application for terminal-based ArDrive workflows. It also offers utility operations for securely interacting with Arweave wallets and inspecting various Arweave blockchain conditions.",
"main": "./lib/index.js",
"bin": {
Expand Down
4 changes: 3 additions & 1 deletion src/utils/temp_folder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,5 +73,7 @@ export function getTempFolder(): string {

export function cleanUpTempFolder(): void {
const tempFolderPath = platformTempFolder();
fs.rmdirSync(tempFolderPath, { recursive: true });
if (fs.existsSync(tempFolderPath)) {
fs.rmdirSync(tempFolderPath, { recursive: true });
}
}

0 comments on commit 753a1e2

Please sign in to comment.