Fixed uninitialized env var RULES
This commit is contained in:
parent
d23a2fb386
commit
79d70906d5
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
{{/* Load the json that returns a list of rule names mapped to its respective filepath */}}
|
||||
{{ $RULES := parseJson $.Env.RULES }}
|
||||
{{ $RULES := parseJson ( or $.Env.RULES "[]" ) }}
|
||||
|
||||
{{ $CurrentContainer := where $ "ID" .Docker.CurrentContainerID | first }}
|
||||
|
||||
|
|
Loading…
Reference in a new issue