Skip to content

Commit

Permalink
fix: wrong default shell on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
tangowithfoxtrot committed Feb 22, 2024
1 parent 211d067 commit 26af620
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bws/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -681,7 +681,7 @@ async fn process_commands() -> Result<()> {
let shell = if cfg!(unix) {
shell.unwrap_or_else(|| "sh".to_string())
} else if cfg!(windows) {
shell.unwrap_or_else(|| "pwsh".to_string())
shell.unwrap_or_else(|| "powershell".to_string())

Check warning on line 684 in crates/bws/src/main.rs

View check run for this annotation

Codecov / codecov/patch

crates/bws/src/main.rs#L681-L684

Added lines #L681 - L684 were not covered by tests
} else {
unreachable!();

Check warning on line 686 in crates/bws/src/main.rs

View check run for this annotation

Codecov / codecov/patch

crates/bws/src/main.rs#L686

Added line #L686 was not covered by tests
};
Expand Down

0 comments on commit 26af620

Please sign in to comment.