File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,7 @@ function Compile-SourceScript {
52
52
)
53
53
54
54
begin {
55
+ " Starting Compile-SourceScript" | Write-Host - ForegroundColor Cyan
55
56
$ErrorActionPreference = ' Stop'
56
57
$MOD = @ {
57
58
sourcemod = @ {
@@ -155,7 +156,9 @@ function Compile-SourceScript {
155
156
$compiledDirItemsDiff = if ($compiledDirItemsPost ) {
156
157
if ($compiledDirItemsPre ) {
157
158
$hashesDiffObj = Compare-object - ReferenceObject $compiledDirItemsPre - DifferenceObject $compiledDirItemsPost - Property FullName, md5 | ? { $_.SideIndicator -eq ' =>' }
158
- $compiledDirItemsPost | ? { $_.md5 -in $hashesDiffObj.md5 }
159
+ if ($hashesDiffObj ) {
160
+ $compiledDirItemsPost | ? { $_.md5 -in $hashesDiffObj.md5 }
161
+ }
159
162
}else {
160
163
$compiledDirItemsPost
161
164
}
You can’t perform that action at this time.
0 commit comments