From 035638cff8a7732146e26b51dd3f6594c24583f4 Mon Sep 17 00:00:00 2001 From: Johan Ljunggren Date: Sun, 18 Feb 2024 11:56:47 +0100 Subject: [PATCH] DEBUG 2 --- source/Classes/020.BootstrapPSResourceGet.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/Classes/020.BootstrapPSResourceGet.ps1 b/source/Classes/020.BootstrapPSResourceGet.ps1 index 34181fa..a709819 100644 --- a/source/Classes/020.BootstrapPSResourceGet.ps1 +++ b/source/Classes/020.BootstrapPSResourceGet.ps1 @@ -306,12 +306,12 @@ class BootstrapPSResourceGet : ResourceBase $scopeModulePath = Get-PSModulePath -Scope $property.ModuleScope Write-Verbose -Message ( - '[Environment]::GetFolderPath(''MyDocuments''): {0}' -f [Environment]::GetFolderPath('MyDocuments') + 'MyDocuments: {0}' -f [Environment]::GetFolderPath('MyDocuments') ) - Write-Verbose -Message ( - '$IsCoreCLR: {0}' -f $IsCoreCLR - ) + # Write-Verbose -Message ( + # '$IsCoreCLR: {0}' -f (if( $IsCoreCLR) { 'True' } else { 'False' }) + # ) Write-Verbose -Message "The path that was returned for the scope '$($property.ModuleScope)' is '$scopeModulePath'" -Verbose