diff options
author | 0neGal <mail@0negal.com> | 2023-07-21 23:22:44 +0200 |
---|---|---|
committer | 0neGal <mail@0negal.com> | 2023-07-21 23:26:14 +0200 |
commit | b08e4d193a2c6dea82a6f00432203cfad097e708 (patch) | |
tree | 07ef1bf47d71acdabc0e923d81e3c57eb0b0868e /src/modules/packages.js | |
parent | 928333b53e07809bef1897813a4f6588f37c677c (diff) | |
download | Viper-b08e4d193a2c6dea82a6f00432203cfad097e708.tar.gz Viper-b08e4d193a2c6dea82a6f00432203cfad097e708.zip |
rename mods.list() properties to use snake case
I may or may not have missed some properties or something somewhere,
perhaps we'll see if something ends up broken in the future...
Diffstat (limited to 'src/modules/packages.js')
-rw-r--r-- | src/modules/packages.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/packages.js b/src/modules/packages.js index 62ef21e..25416c4 100644 --- a/src/modules/packages.js +++ b/src/modules/packages.js @@ -217,8 +217,8 @@ packages.install = async (url, author, package_name, version) => { for (let i = 0; i < mods_list.length; i++) { let mod = mods_list[i]; - if (mod.ManifestName == package_name) { - mods.remove(mod.Name); + if (mod.manifest_name == package_name) { + mods.remove(mod.name); continue; } } |