Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MariusStorhaug committed Dec 8, 2024
1 parent 00f8d9a commit 6b521df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/functions/public/Config/Remove-GitHubConfig.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function Remove-GitHubConfig {
process {
try {
if ($PSCmdlet.ShouldProcess('ContextSetting', 'Remove')) {
$moduleContext.PSObject.Properties.Remove($Name)
$moduleContext.$Name = $null
}
} catch {
Write-Error $_
Expand Down

0 comments on commit 6b521df

Please sign in to comment.