Skip to content

Commit eeaf59f

Browse files
Fix quoting in ShouldProcess (Compress-FolderToTarGz)
1 parent 37a4aee commit eeaf59f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Functions/Compress-FolderToTarGz.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ function Compress-FolderToTarGz {
2828
$tarFull = Join-Path $parent $tarName
2929
$gzFull = Join-Path $parent $gzName
3030

31-
if ($PSCmdlet.ShouldProcess($TargetDir,\"Compress to $gzFull\")) {
31+
if ($PSCmdlet.ShouldProcess($TargetDir, "Compress to $gzFull")) {
3232
$excludeArgs = @()
3333
foreach ($ex in $Exclude) { $excludeArgs += \"--exclude=$ex\" }
3434

0 commit comments

Comments
 (0)