Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🪲 [Fix]: Issues setting variable on Store hashtable #4

Merged
merged 12 commits into from
Mar 16, 2024
2 changes: 1 addition & 1 deletion src/Store/private/Set-StoreVariable.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
if ($null -eq $Value) {
$script:Store.Remove($Name)
} else {
$script:Store.$Name = $Value
$script:Store["$Name"] = $Value
}
$script:Store | ConvertTo-Json | Set-Content -Path $script:Store.ConfigFileName -Force
}
Expand Down
Loading