Skip to content
This repository has been archived by the owner on Jun 28, 2022. It is now read-only.

Add the filename to Rego fragment locations. #13

Merged
merged 1 commit into from
Aug 4, 2020

Conversation

jpeach
Copy link
Contributor

@jpeach jpeach commented Aug 3, 2020

It is awkward to map the location of Rego erros back to the right
line on the test document, but we can improve things (in a hacky way)
by capturing the file and line number in the filename that we feed to
Rego when we compile a fragment.

This updates #12.

Signed-off-by: James Peach [email protected]

It is awkward to map the location of Rego erros back to the right
line on the test document, but we can improve things (in a hacky way)
by capturing the file and line number in the filename that we feed to
Rego when we compile a fragment.

This updates projectcontour#12.

Signed-off-by: James Peach <[email protected]>
@jpeach jpeach merged commit a77b777 into projectcontour:master Aug 4, 2020
@jpeach jpeach deleted the add-filename-locations branch August 4, 2020 01:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant