mirror of
https://github.com/open-policy-agent/opa.git
synced 2026-08-13 03:42:35 -06:00
55b474a4fe
The documentation is pretty clear that a module must at least contain a package, so it is safe to say that an empty file isn't valid. Previously the helper would just return a nil module and nil error, it will now return an error. Fixes: #2054 Signed-off-by: Patrick East <east.patrick@gmail.com>