diff options
author | 0neGal <mail@0negal.com> | 2023-07-24 18:27:49 +0200 |
---|---|---|
committer | 0neGal <mail@0negal.com> | 2023-07-24 18:27:49 +0200 |
commit | 116fceaed48b4aace01290cee3ddfa007b2550f5 (patch) | |
tree | 65bce1f3f480529fa2ee2a833bd08b95b4e240be /src | |
parent | 3b3173e0454605c8181f037fff49c7ab8a353cf8 (diff) | |
download | Viper-116fceaed48b4aace01290cee3ddfa007b2550f5.tar.gz Viper-116fceaed48b4aace01290cee3ddfa007b2550f5.zip |
fixed updating not removing older packages
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/packages.js | 1 |
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); |