Skip to content

Commit fe3589d

Browse files
Fix assignment of PSDefaultParameterValues
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 1c4fb1b commit fe3589d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎test/DscResource/PSResourceGetDSCResource.Tests.ps1‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ Describe 'Repository Resource Tests' -Tags 'CI' {
115115
}
116116
AfterAll {
117117
if ($skipTest) {
118-
$PSDefaultParameterValues = $originalDefaultParameterValues
118+
$global:PSDefaultParameterValues = $originalDefaultParameterValues
119119
return
120120
}
121121

0 commit comments

Comments
 (0)