Skip to content

Commit 9722784

Browse files
fix(command): add missing environment variables for Windows (#532)
1 parent 8f8e221 commit 9722784

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

git-cliff-core/src/command.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ pub fn run(
2525
) -> Result<String> {
2626
let mut child = if cfg!(target_os = "windows") {
2727
Command::new("cmd")
28+
.envs(envs)
2829
.args(["/C", command])
2930
.stdin(Stdio::piped())
3031
.stdout(Stdio::piped())

0 commit comments

Comments
 (0)