From 59118aea2c234ba03ed93fa000b67b1a448f1463 Mon Sep 17 00:00:00 2001 From: Jake Shadle Date: Mon, 18 Nov 2024 15:50:47 +0100 Subject: [PATCH] Use bash always --- .github/workflows/rust-ci.yml | 1 + src/lib.rs | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/rust-ci.yml b/.github/workflows/rust-ci.yml index 27075a7..dfd7a2d 100644 --- a/.github/workflows/rust-ci.yml +++ b/.github/workflows/rust-ci.yml @@ -45,6 +45,7 @@ jobs: - name: cargo test build run: cargo build --tests --release - name: cargo test + shell: bash run: cargo test --release - name: detects powershell if: ${{ matrix.os != 'macos-14' }} diff --git a/src/lib.rs b/src/lib.rs index a33f640..aa72d79 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -363,7 +363,6 @@ pub fn is_powershell_parent() -> bool { )); let path = os.to_string_lossy(); - eprintln!("{path}"); let p = std::path::Path::new(path.as_ref()); if p.file_stem() == Some(std::ffi::OsStr::new("pwsh")) { return true;