summaryrefslogtreecommitdiff
path: root/EXPRESSIONS
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2024-11-05 16:27:27 +0100
committerKlaus Aehlig <klaus.aehlig@huawei.com>2024-11-06 14:37:16 +0100
commitee8a8d511fb5c8d0cbad8a5979759ce853e8d767 (patch)
treed9061a648fba7cffe3d6dd6b39f4543afd669d40 /EXPRESSIONS
parent9e7f2b68357dc1fbd073244e5a242a8317c8207d (diff)
downloadrules-cc-ee8a8d511fb5c8d0cbad8a5979759ce853e8d767.tar.gz
Use quote and quasi-quote to simplify some expressions
Diffstat (limited to 'EXPRESSIONS')
-rw-r--r--EXPRESSIONS2
1 files changed, 1 insertions, 1 deletions
diff --git a/EXPRESSIONS b/EXPRESSIONS
index b974026..0c1f611 100644
--- a/EXPRESSIONS
+++ b/EXPRESSIONS
@@ -126,7 +126,7 @@
, "expression":
{ "type": "map_union"
, "$1":
- [ {"type": "singleton_map", "key": "PATH", "value": "/bin:/usr/bin"}
+ [ {"type": "'", "$1": {"PATH": "/bin:/usr/bin"}}
, {"type": "var", "name": "ENV", "default": {"type": "empty_map"}}
]
}