mirror of
https://github.com/thelounge/thelounge
synced 2024-11-10 14:44:13 +00:00
Merge pull request #3783 from thelounge/xpaw/uninstall
Fix not being able to uninstall packages
This commit is contained in:
commit
d2e4f56219
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ program
|
|||
const path = require("path");
|
||||
|
||||
const packagesConfig = path.join(Helper.getPackagesPath(), "package.json");
|
||||
const packages = JSON.parse(fs.readFileSync(packagesConfig, "utf-8")).dependencies;
|
||||
const packages = JSON.parse(fs.readFileSync(packagesConfig, "utf-8"));
|
||||
|
||||
if (
|
||||
!packages.dependencies ||
|
||||
|
|
Loading…
Reference in a new issue