Skip to content

Commit

Permalink
fix(command): add missing environment variables for Windows (#532)
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-carr-3000 authored Mar 4, 2024
1 parent 8f8e221 commit 9722784
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions git-cliff-core/src/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ pub fn run(
) -> Result<String> {
let mut child = if cfg!(target_os = "windows") {
Command::new("cmd")
.envs(envs)
.args(["/C", command])
.stdin(Stdio::piped())
.stdout(Stdio::piped())
Expand Down

0 comments on commit 9722784

Please sign in to comment.