Skip to content

Commit 9f484a4

Browse files
committed
Revise console output message for if the plugin failed to be updated in the plugins directory
1 parent 477b141 commit 9f484a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ function Compile-SourceScript {
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
221221
if ($updatedPluginHash -eq $compiledPluginHash) { "`n Plugin successfully copied to '$($_.Fullname)'" | Write-Host -ForegroundColor Green }
222-
else { "`n Failed to copy to the plugins directory." | Write-Host -ForegroundColor Magenta; return }
222+
else { "`n Failed to update existing plugin in the plugins directory." | Write-Host -ForegroundColor Magenta; return }
223223
}
224224

225225
# Throw an error if the copying process failed

0 commit comments

Comments
 (0)