Skip to content

Commit f0fc658

Browse files
committed
Remove mocked warning message from Get() method in DebugDscEngine class
1 parent 1bdb4c6 commit f0fc658

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/Classes/020.DebugDscEngine.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ class DebugDscEngine : ResourceBase
9191
[DebugDscEngine] Get()
9292
{
9393
# Output all environment variables to verify the environment
94-
Write-Warning -Message 'Mocked warning message for testing purposes.'
9594
#Write-Verbose -Message "`nEnvironment Variables from inside DSC resource:`n$([System.Environment]::GetEnvironmentVariables().GetEnumerator() | Sort-Object Key | ForEach-Object { "$($_.Key) = $($_.Value)" } | Out-String)" -Verbose
95+
#Write-Warning -Message 'Mocked warning message for testing purposes.'
9696

9797
# Call the base method to return the properties.
9898
return ([ResourceBase] $this).Get()

0 commit comments

Comments
 (0)