Skip to content

Commit

Permalink
Compilation fix :)
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperCuber committed Jul 13, 2024
1 parent 93c44e0 commit 79789ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/handlebars_helpers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ fn is_executable(name: &str) -> Result<bool> {
}

#[cfg(unix)]
fn is_executable(name: &str) -> Result<bool, std::io::Error> {
fn is_executable(name: &str) -> Result<bool> {
Command::new("which")
.arg(name)
.stdin(Stdio::null())
Expand Down

0 comments on commit 79789ac

Please sign in to comment.