Skip to content

Commit 2db651c

Browse files
h404bir15ch13
authored andcommitted
fix: correct deprecation function name (#3406)
1 parent 1268d74 commit 2db651c

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

lib/decompress.ps1

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -188,21 +188,21 @@ function Expand-ZipArchive {
188188
}
189189

190190
function extract_7zip($path, $to, $removal) {
191-
Show-DeprecationMessage $MyInvocation 'Expand-7ZipArchive'
191+
Show-DeprecatedWarning $MyInvocation 'Expand-7ZipArchive'
192192
Expand-7ZipArchive -Path $path -DestinationPath $to -Removal:$removal
193193
}
194194

195195
function extract_msi($path, $to, $removal) {
196-
Show-DeprecationMessage $MyInvocation 'Expand-MSIArchive'
196+
Show-DeprecatedWarning $MyInvocation 'Expand-MSIArchive'
197197
Expand-MSIArchive -Path $path -DestinationPath $to -Removal:$removal
198198
}
199199

200200
function unpack_inno($path, $to, $removal) {
201-
Show-DeprecationMessage $MyInvocation 'Expand-InnoArchive'
201+
Show-DeprecatedWarning $MyInvocation 'Expand-InnoArchive'
202202
Expand-InnoArchive -Path $path -DestinationPath $to -Removal:$removal
203203
}
204204

205205
function extract_zip($path, $to, $removal) {
206-
Show-DeprecationMessage $MyInvocation 'Expand-ZipArchive'
206+
Show-DeprecatedWarning $MyInvocation 'Expand-ZipArchive'
207207
Expand-ZipArchive -Path $path -DestinationPath $to -Removal:$removal
208208
}

0 commit comments

Comments
 (0)