Skip to content

Commit

Permalink
fix testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Phantsure authored Dec 9, 2022
1 parent 4d08c1d commit 9a0cb81
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions packages/cache/src/internal/tar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,10 +151,8 @@ async function getArgs(
args = [...tarArgs, ...compressionArgs].join(' ')
}

if (IS_WINDOWS) {
args = ["cmd /c '", args, "'"].join(' ')
} else {
args = ["bash -c '", args, "'"].join(' ')
if (BSD_TAR_ZSTD) {
args = ['cmd /c "', args, '"'].join(' ')
}

return args
Expand Down

0 comments on commit 9a0cb81

Please sign in to comment.