Skip to content

Commit

Permalink
Merge pull request #3522 from corbob/3520-deprecate-function
Browse files Browse the repository at this point in the history
(#3520) Deprecate Install-ChocolateyPinnedTaskBarItem
  • Loading branch information
gep13 authored Sep 26, 2024
2 parents dd1de8f + 0d4a172 commit 0b16b77
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Creates an item in the task bar linking to the provided path.
.NOTES
Does not work with SYSTEM, but does not error. It warns with the error
message.
message. This command is deprecated and will be removed in version 3.0.0.
.INPUTS
None
Expand Down Expand Up @@ -53,6 +53,7 @@ Install-ChocolateyExplorerMenuItem
)

Write-FunctionCallLogMessage -Invocation $MyInvocation -Parameters $PSBoundParameters
Write-Warning "Install-ChocolateyPinnedTaskBarItem has been deprecated in v2.4.0 and will be removed in v3.0.0."

try {
if (Test-Path($targetFilePath)) {
Expand Down

0 comments on commit 0b16b77

Please sign in to comment.