File tree Expand file tree Collapse file tree
Modules/Compile-SourceScript Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -104,16 +104,16 @@ function Compile-SourceScript {
104104 " `n Newly compiled plugins:" | Write-Host - ForegroundColor Cyan
105105 $compiledDirItemsDiff | % {
106106 $compiledPluginHash = (Get-FileHash $_.FullName - Algorithm MD5).Hash
107- " $ ( $_.Name ) , $ ( $_.LastWriteTime ) , $compiledPluginHash " | Write-Host - ForegroundColor Green
107+ " $ ( $_.Name ) , $ ( $_.LastWriteTime ) , $compiledPluginHash " | Write-Host - ForegroundColor White
108108 }
109109
110110 New-Item - Path $pluginsDir - ItemType Directory - Force | Out-Null
111111 $compiledDirItemsDiff | % {
112+ " `n $ ( $_.Name ) :" | Write-Host - ForegroundColor Green
112113 if ($_.Basename -ne $script.Basename ) {
113- " `n The scripts name does not match the compiled plugin 's name." | Write-Host - ForegroundColor Magenta
114+ " The plugin's name does not match the specified script 's name." | Write-Host - ForegroundColor Magenta
114115 return # continue in %
115116 }
116- " `n $ ( $_.Name ) :" | Write-Host - ForegroundColor Green
117117 $existingPlugin = Get-Item " $pluginsDir /$ ( $_.Name ) " - ErrorAction SilentlyContinue
118118 if (! $existingPlugin ) {
119119 " Plugin does not currently exist in the plugins directory." | Write-Host - ForegroundColor Yellow
Original file line number Diff line number Diff line change @@ -96,16 +96,16 @@ function Compile-SourceScript {
9696 " `n Newly compiled plugins:" | Write-Host - ForegroundColor Cyan
9797 $compiledDirItemsDiff | % {
9898 $compiledPluginHash = (Get-FileHash $_.FullName - Algorithm MD5).Hash
99- " $ ( $_.Name ) , $ ( $_.LastWriteTime ) , $compiledPluginHash " | Write-Host - ForegroundColor Green
99+ " $ ( $_.Name ) , $ ( $_.LastWriteTime ) , $compiledPluginHash " | Write-Host - ForegroundColor White
100100 }
101101
102102 New-Item - Path $pluginsDir - ItemType Directory - Force | Out-Null
103103 $compiledDirItemsDiff | % {
104+ " `n $ ( $_.Name ) :" | Write-Host - ForegroundColor Green
104105 if ($_.Basename -ne $script.Basename ) {
105- " `n The scripts name does not match the compiled plugin 's name." | Write-Host - ForegroundColor Magenta
106+ " The plugin's name does not match the specified script 's name." | Write-Host - ForegroundColor Magenta
106107 return # continue in %
107108 }
108- " `n $ ( $_.Name ) :" | Write-Host - ForegroundColor Green
109109 $existingPlugin = Get-Item " $pluginsDir /$ ( $_.Name ) " - ErrorAction SilentlyContinue
110110 if (! $existingPlugin ) {
111111 " Plugin does not currently exist in the plugins directory." | Write-Host - ForegroundColor Yellow
You can’t perform that action at this time.
0 commit comments