mirror of
https://github.com/open-policy-agent/opa.git
synced 2026-08-13 03:42:35 -06:00
f01bd3788f
Also ensure that added imports have a location set. Previously, `opa fmt` on the added test file would have panicked because the import hadn't had a location. Fixes #4606. Signed-off-by: Stephan Renatus <stephan.renatus@gmail.com>