Skip to content

Commit

Permalink
🐛 Make sure we fallback to an empty list
Browse files Browse the repository at this point in the history
  • Loading branch information
segersniels committed Apr 25, 2023
1 parent 8a08715 commit 7baef9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ pub fn parallel_execution(command: &str) {
}

let mut handles = Vec::new();
let choices = prompt::determine_choices(command).unwrap();
let choices = prompt::determine_choices(command).unwrap_or(Vec::new());

println!("Asynchronous execution of command is happening in the background");

Expand Down

0 comments on commit 7baef9e

Please sign in to comment.