File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -46,15 +46,15 @@ function OutputDebugFunctionCall {
46
46
47
47
OutputDebug " Function '$callerName ' called with parameters:"
48
48
49
- if ($argString -match ' ^\{(.+ )\}$' ) {
49
+ if ($argString -match ' ^\{(.* )\}$' ) {
50
50
$inner = $matches [1 ]
51
51
52
52
# Match key=value pairs, allowing for quoted strings with commas
53
53
$pattern = ' (?<key>\w+)\s*=\s*(?<value>(?:(?!,\s*\w+\s*=).)+)'
54
54
$matches = [regex ]::Matches($inner , $pattern )
55
55
56
56
if ($matches.Count -eq 0 ) {
57
- OutputDebug " No parameters found. "
57
+ OutputDebug " None "
58
58
}
59
59
foreach ($match in $matches ) {
60
60
$key = $match.Groups [' key' ].Value
@@ -242,7 +242,7 @@ function OutputDebug {
242
242
Write-Host $message
243
243
}
244
244
else {
245
- Write-Host " ::Debug::$message "
245
+ Write-Host " ::Debug::[AL-Go] $message "
246
246
}
247
247
}
248
248
You can’t perform that action at this time.
0 commit comments