mirror of
https://github.com/open-policy-agent/opa.git
synced 2026-08-13 03:42:35 -06:00
572d7f9006
This fixes a long-standing annoyance where:
```rego
allow {
input.user.name == "foo"
} else := false
```
Formats into:
```rego
allow {
input.user.name == "foo"
} else := false {
true
}
```
Signed-off-by: Anders Eknert <anders@eknert.com>