Skip to content

Commit c7f6bf5

Browse files
committed
Fix sourcemod plugin compilation error regex pattern
1 parent 3c0227a commit c7f6bf5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Compile-SourceScript/Public/Compile-SourceScript.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ function Compile-SourceScript {
148148
}
149149
$returnExitCode = $false
150150
if ($MOD_NAME -eq 'sourcemod') {
151-
$pluginErrorRegexPattern = '^\/\/\s*.*\.sp\(\d+\)\s*:\s*error (\d+)'
151+
$pluginErrorRegexPattern = '^.*\.sp\(\d+\)\s*:\s*error (\d+)'
152152
if (!$PSBoundParameters['SkipWrapper'] -or $env:OS -ne 'Windows_NT') {
153153
$returnExitCode = $true
154154
}

0 commit comments

Comments
 (0)