Skip to content

Commit

Permalink
(chocolateyGH-715) Report loaded extensions to the user
Browse files Browse the repository at this point in the history
When loading extensions, make sure the user also knows they are being
loaded by reporting them in log info.
  • Loading branch information
ferventcoder committed May 1, 2016
1 parent e227d2a commit c3c8e5a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/chocolatey.resources/helpers/chocolateyInstaller.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -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') {
Expand Down

0 comments on commit c3c8e5a

Please sign in to comment.