Pass auto-accept flag to doom upgrade (#386)
This commit is contained in:
@@ -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<()> {
|
||||
|
||||
Reference in New Issue
Block a user