From 5d89600d4ba854841f15327beef4e0ba2e2bb927 Mon Sep 17 00:00:00 2001 From: Austin Burdine Date: Thu, 22 Jun 2017 20:31:04 -0400 Subject: [PATCH] fix(uninstall): actually fix uninstall this time MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit refs #220 - nothing to see here 🙈 --- lib/commands/uninstall.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/commands/uninstall.js b/lib/commands/uninstall.js index 742eceda3..7d100737f 100644 --- a/lib/commands/uninstall.js +++ b/lib/commands/uninstall.js @@ -42,7 +42,7 @@ module.exports.execute = function execute() { let instances = systemConfig.get('instances', {}) each(instances, (instance, pname) => { if (instance.cwd === process.cwd()) { - delete systemConfig[pname]; + delete instances[pname]; } }); systemConfig.set('instances', instances).save();