Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(jsonnet): EvalJsonnet through Loader interface #498

Merged
merged 2 commits into from
Feb 2, 2021

Conversation

Duologic
Copy link
Member

@Duologic Duologic commented Feb 2, 2021

To run tk eval, we also need to handle import "tk" and related. As this behavior is specific to the Loader, it seems to make sense to use the Loader interface for this.

Fixes #480 again. :)

@Duologic Duologic requested a review from sh0rez February 2, 2021 08:30
Copy link
Member

@sh0rez sh0rez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice! Small bits but generally LGTM

pkg/tanka/load.go Outdated Show resolved Hide resolved
pkg/tanka/load.go Outdated Show resolved Hide resolved
Copy link
Member

@sh0rez sh0rez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so much eval

@Duologic Duologic merged commit f0d6217 into master Feb 2, 2021
@Duologic Duologic deleted the duologic/evaljsonnet branch February 2, 2021 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Undefined external variable: tanka.dev/environment
2 participants