Skip to content

Commit 5b23d4a

Browse files
committed
Merge branch 'fix/fix-console-output-for-the-path-of-the-successfully-installed-plugin'
2 parents 3137105 + 6e0a8ea commit 5b23d4a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Compile-SourceScript/Public/Compile-SourceScript.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ function Compile-SourceScript {
218218
$updatedPlugin = Get-Item -Path "$PLUGINS_DIR/$($_.Name)" -ErrorAction SilentlyContinue
219219
if (!$updatedPlugin) { "`n Plugin does not exist in the plugins directory." | Write-Host -ForegroundColor Magenta; return }
220220
$updatedPluginHash = (Get-FileHash -Path $updatedPlugin -Algorithm MD5).Hash
221-
if ($updatedPluginHash -eq $compiledPluginHash) { "`n Plugin successfully copied to '$($_.Fullname)'" | Write-Host -ForegroundColor Green }
221+
if ($updatedPluginHash -eq $compiledPluginHash) { "`n Plugin successfully copied to '$($updatedPlugin.FullName)'" | Write-Host -ForegroundColor Green }
222222
else { "`n Failed to update existing plugin in the plugins directory." | Write-Host -ForegroundColor Magenta; return }
223223
}
224224

0 commit comments

Comments
 (0)