Skip to content

Commit

Permalink
Don't exit if exisiting plugin version isn't found
Browse files Browse the repository at this point in the history
Signed-off-by: Kaustav Das Modak <[email protected]>
  • Loading branch information
Kaustav Das Modak committed Mar 31, 2016
1 parent e87f931 commit febb28f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions scripts/install.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,7 @@ var installPluginFiles = function () {
log = child_process.execSync("gauge --uninstall " + plugin.id + " --plugin-version \"" + plugin.version + "\"");
console.log(log.toString());
} catch (err) {
console.error("Failed to uninstall existing plugin: %s", err.message);
console.error(err.stack);
process.exit(1);
console.error("Could not uninstall existing plugin: %s", err.message);
}

try {
Expand Down

0 comments on commit febb28f

Please sign in to comment.