Skip to content

Commit ef9ea2f

Browse files
committed
Clean command remove all files in the download dir
Signed-off-by: ghosind <ghosind@gmail.com>
1 parent f262386 commit ef9ea2f

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

dvm.sh

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -582,15 +582,7 @@ export DVM_VERSION="v0.9.1"
582582
continue
583583
fi
584584

585-
[ -f "$cache_path/deno-downloading.zip" ] && rm "$cache_path/deno-downloading.zip"
586-
587-
[ -f "$cache_path/deno-downloading.gz" ] && rm "$cache_path/deno-downloading.gz"
588-
589-
[ -f "$cache_path/deno.zip" ] && rm "$cache_path/deno.zip"
590-
591-
[ -f "$cache_path/deno.gz" ] && rm "$cache_path/deno.gz"
592-
593-
rmdir "$cache_path"
585+
rm -rf "$cache_path"
594586
done
595587
}
596588
}

0 commit comments

Comments
 (0)