aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/modules/packages.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/packages.js b/src/modules/packages.js
index a20cb5a..d1ea46e 100644
--- a/src/modules/packages.js
+++ b/src/modules/packages.js
@@ -240,6 +240,7 @@ packages.install = async (url, author, package_name, version) => {
}
// removes older version of package inside the `packages` folder
+ packages.remove(author, package_name);
packages.remove(author, package_name, version);
console.info("Moving package:", name);