mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 08:04:19 +00:00
global-functions: $ValidateSyntax: add line breaks
This makes sure the closing curly bracket is not hidden in comment.
This commit is contained in:
parent
99d3e5d578
commit
a019ff861e
1 changed files with 1 additions and 1 deletions
|
@ -1044,7 +1044,7 @@
|
|||
:local Code [ :tostr $1 ];
|
||||
|
||||
:do {
|
||||
[ :parse (":local Validate do={ " . $Code . " }") ];
|
||||
[ :parse (":local Validate do={\n" . $Code . "\n}") ];
|
||||
} on-error={
|
||||
:return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue