Skip to content

Commit c3c8e5a

Browse files
committed
(chocolateyGH-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.
1 parent e227d2a commit c3c8e5a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/chocolatey.resources/helpers/chocolateyInstaller.psm1

+2-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ if (Test-Path($extensionsPath)) {
5151
Get-ChildItem $extensionsPath -recurse -filter "*.dll" | Select -ExpandProperty FullName | % {
5252
$path = $_;
5353
try {
54-
Write-Debug "Importing '$path'";
54+
Write-Debug "Importing '$path'";
55+
Write-Host "Loading '$([System.IO.Path]::GetFileNameWithoutExtension($path))' extension.";
5556
Import-Module $path;
5657
} catch {
5758
if ($env:ChocolateyPowerShellHost -eq 'true') {

0 commit comments

Comments
 (0)