Skip to content

Commit

Permalink
fix(uninstall): pass argv.force to ui.confirm as default
Browse files Browse the repository at this point in the history
  • Loading branch information
acburdine committed Nov 6, 2019
1 parent 23e48b4 commit be69f38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/commands/uninstall.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class UninstallCommand extends Command {

const instance = this.system.getInstance();

const confirmed = await this.ui.confirm('Are you sure you want to do this?');
const confirmed = await this.ui.confirm('Are you sure you want to do this?', argv.force);
if (!confirmed) {
return;
}
Expand Down

0 comments on commit be69f38

Please sign in to comment.