We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 477b141 commit 9f484a4Copy full SHA for 9f484a4
1 file changed
src/Compile-SourceScript/Public/Compile-SourceScript.ps1
@@ -219,7 +219,7 @@ function Compile-SourceScript {
219
if (!$updatedPlugin) { "`n Plugin does not exist in the plugins directory." | Write-Host -ForegroundColor Magenta; return }
220
$updatedPluginHash = (Get-FileHash -Path $updatedPlugin -Algorithm MD5).Hash
221
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 }
+ else { "`n Failed to update existing plugin in the plugins directory." | Write-Host -ForegroundColor Magenta; return }
223
}
224
225
# Throw an error if the copying process failed
0 commit comments