From cb78f0486a7aad46904508c8427d44fa71518c53 Mon Sep 17 00:00:00 2001 From: Merlin Date: Tue, 30 Oct 2018 15:22:39 +0100 Subject: [PATCH] Remove duplicate `Install-Module` detection Block was inserted twice. --- vendor/profile.ps1 | 4 ---- 1 file changed, 4 deletions(-) diff --git a/vendor/profile.ps1 b/vendor/profile.ps1 index 19cff9a..995b745 100644 --- a/vendor/profile.ps1 +++ b/vendor/profile.ps1 @@ -29,10 +29,6 @@ $ENV:CMDER_ROOT = (($ENV:CMDER_ROOT).trimend("\")) # -> recent PowerShell versions include PowerShellGet out of the box $moduleInstallerAvailable = [bool](Get-Command -Name 'Install-Module' -ErrorAction SilentlyContinue | Out-Null) -# do not load bundled psget if a module installer is already available -# -> recent PowerShell versions include PowerShellGet out of the box -$moduleInstallerAvailable = [bool](Get-Command -Name 'Install-Module' -ErrorAction SilentlyContinue | Out-Null) - # Add Cmder modules directory to the autoload path. $CmderModulePath = Join-path $PSScriptRoot "psmodules/"