Pass auto-accept flag to doom upgrade (#386)

This commit is contained in:
Dror Levin
2020-03-31 14:45:24 +03:00
committed by GitHub
parent a04680720c
commit f3be84a6fd

View File

@@ -62,7 +62,7 @@ impl Emacs {
fn update_doom(doom: &Path, run_type: RunType) -> Result<()> {
print_separator("Doom Emacs");
run_type.execute(doom).arg("upgrade").check_run()
run_type.execute(doom).args(&["-y", "upgrade"]).check_run()
}
pub fn upgrade(&self, run_type: RunType) -> Result<()> {