You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
❯ opa eval -f pretty -b . --ignore t.rego data.p.allow
1 error occurred: loading error: bundle .: 1 error occurred: t.rego:3: rego_parse_error: var cannot be used for rule name
Similar issues have been reported before for opa build (fixed) and opa test, but I could not find an issue reported for opa eval.
This issue was reported first in the OPA VS Code plug-in by @Ronnie-personal, where we sometimes have seen errors reported, and performance issues, caused by .git and other irrelevant directories and files getting included in the workspace bundle.
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as inactive because it has not had any activity in the last 30 days. Although currently inactive, the issue could still be considered and actively worked on in the future. More details about the use-case this issue attempts to address, the value provided by completing it or possible solutions to resolve it would help to prioritize the issue.
❯ tree . ├── p.rego └── t.rego 1 directory, 2 files
Using a intentionally broken
t.rego
file, the following works foropa eval
:But using the
-b
/--bundle
options does not:Similar issues have been reported before for opa build (fixed) and opa test, but I could not find an issue reported for
opa eval
.This issue was reported first in the OPA VS Code plug-in by @Ronnie-personal, where we sometimes have seen errors reported, and performance issues, caused by
.git
and other irrelevant directories and files getting included in the workspace bundle.The text was updated successfully, but these errors were encountered: