Skip to content

Commit

Permalink
🩹 [Patch]: Update verbose output in Set-ContextSetting to use conte…
Browse files Browse the repository at this point in the history
…xt ID
  • Loading branch information
MariusStorhaug committed Nov 21, 2024
1 parent 889ef4d commit 90c6360
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/functions/public/ContextSetting/Set-ContextSetting.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function Set-ContextSetting {
}

if ($PSCmdlet.ShouldProcess($Name, "Set value [$Value]")) {
Write-Verbose "Setting [$Name] to [$Value] in [$($context.Name)]"
Write-Verbose "Setting [$Name] to [$Value] in [$ID]"
if ($context.PSObject.Properties[$Name]) {
$context.$Name = $Value
} else {
Expand Down

0 comments on commit 90c6360

Please sign in to comment.