Skip to content

Commit 98f4126

Browse files
committed
chore: Remove PSModulePath debug logs in Invoke-DscCacheRefresh
1 parent 4efac72 commit 98f4126

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

powershell-adapter/psDscAdapter/psDscAdapter.psm1

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,6 @@ function Invoke-DscCacheRefresh {
3838
$Module
3939
)
4040

41-
# write psmodulepath to debug logs
42-
$trace = @{'Debug' = 'PSModulePath:' + $env:PSModulePath } | ConvertTo-Json -Compress
43-
$host.ui.WriteErrorLine($trace)
44-
4541
# create a list object to store cache of Get-DscResource
4642
[dscResourceCache[]]$dscResourceCache = [System.Collections.Generic.List[Object]]::new()
4743

0 commit comments

Comments
 (0)