Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal/envflag: small follow-ups to int and string support
Update the godoc so that it is no longer boolean-centric. Remove the shortcut for an empty env var value; the rest of the code is a loop over its comma-separated list, which results in no work at all anyway, so this seems unnecessary. We don't treat any input string errors as fatal anymore, meaning that we always continue processing the rest of the input list, so remove a comment implying that it's a special case to continue. Finally, one test had a trailing bit of input which was entirely unnecessary for the test case, and also wrong, as keys are lowercase. Signed-off-by: Daniel Martí <[email protected]> Change-Id: I552f17d7eee77a1ca0b1d575b3b782acfea0948c Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1208382 Reviewed-by: Roger Peppe <[email protected]> TryBot-Result: CUEcueckoo <[email protected]> Unity-Result: CUE porcuepine <[email protected]>
- Loading branch information