From f85d44e43484fcd99741e6ea5effb710f743f877 Mon Sep 17 00:00:00 2001 From: Ian Walker Date: Mon, 7 Sep 2020 08:55:15 +0100 Subject: [PATCH] Made Bootstrap-Nuget also run on PS Core+Windows --- PSDepend/PSDepend.psm1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PSDepend/PSDepend.psm1 b/PSDepend/PSDepend.psm1 index a4cf20f..aa0a743 100644 --- a/PSDepend/PSDepend.psm1 +++ b/PSDepend/PSDepend.psm1 @@ -27,7 +27,7 @@ $Value = $ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($Value) Set-Variable -Name $Name -Value $Value } - if(Test-PlatformSupport -Support 'windows') { + if(Test-PlatformSupport -Support 'windows','core') { BootStrap-Nuget -NugetPath $NuGetPath }