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

Initial implementation for strict flag #801

Merged
merged 4 commits into from
Feb 24, 2021
Merged

Initial implementation for strict flag #801

merged 4 commits into from
Feb 24, 2021

Conversation

dchw
Copy link
Collaborator

@dchw dchw commented Feb 22, 2021

Small prereq that can standalone as I add in support for RUN --interactive

Still needs an integration test though

if !c.opt.AllowLocally {
return errors.New("LOCALLY cannot be used when --strict is specified")
}

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is in converter, because it (to me) helps interpreter stay clean. Interpreter is for language, Converter is where CLI options + interpreted language options are combined, and so also is where the relevant error lives.

Copy link
Member

@vladaionescu vladaionescu left a comment

Choose a reason for hiding this comment

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

👍

earthfile2llb/earthfile2llb.go Outdated Show resolved Hide resolved
@dchw dchw merged commit 2161e3a into main Feb 24, 2021
@dchw dchw deleted the corey/add-strict branch February 24, 2021 22:40
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.

None yet

2 participants