File tree Expand file tree Collapse file tree
src/Compile-SourceScript/Public Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments