-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
arg(): use strings.Cut() to simplify the logic
Use strings.Cut() to simplify the logic that decides which value to save to the Builder's Args map. Don't get confused about whether or not we have a default value for an ARG when we're evaluating multiple ARGs. Signed-off-by: Nalin Dahyabhai <[email protected]>
- Loading branch information
Showing
2 changed files
with
57 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters