File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
src/Compile-SourceScript/Public Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -219,7 +219,7 @@ function Compile-SourceScript {
219
219
if (! $updatedPlugin ) { " `n Plugin does not exist in the plugins directory." | Write-Host - ForegroundColor Magenta; return }
220
220
$updatedPluginHash = (Get-FileHash - Path $updatedPlugin - Algorithm MD5).Hash
221
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 }
222
+ else { " `n Failed to update existing plugin in the plugins directory." | Write-Host - ForegroundColor Magenta; return }
223
223
}
224
224
225
225
# Throw an error if the copying process failed
You can’t perform that action at this time.
0 commit comments