From c3c8e5a91a51eeb13fabf338d9f9d65eb94dc684 Mon Sep 17 00:00:00 2001 From: Rob Reynolds Date: Sat, 30 Apr 2016 20:55:35 -0500 Subject: [PATCH] (GH-715) Report loaded extensions to the user When loading extensions, make sure the user also knows they are being loaded by reporting them in log info. --- src/chocolatey.resources/helpers/chocolateyInstaller.psm1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/chocolatey.resources/helpers/chocolateyInstaller.psm1 b/src/chocolatey.resources/helpers/chocolateyInstaller.psm1 index 122fa474dd..65d9c01a71 100644 --- a/src/chocolatey.resources/helpers/chocolateyInstaller.psm1 +++ b/src/chocolatey.resources/helpers/chocolateyInstaller.psm1 @@ -51,7 +51,8 @@ if (Test-Path($extensionsPath)) { Get-ChildItem $extensionsPath -recurse -filter "*.dll" | Select -ExpandProperty FullName | % { $path = $_; try { - Write-Debug "Importing '$path'"; + Write-Debug "Importing '$path'"; + Write-Host "Loading '$([System.IO.Path]::GetFileNameWithoutExtension($path))' extension."; Import-Module $path; } catch { if ($env:ChocolateyPowerShellHost -eq 'true') {