Repository navigation
Use the selected input and output streams for --values - #134
Open
rupayon123 wants to merge 1 commit into
Open
rupayon123 wants to merge 1 commit into
rupayon123 wants to merge 1 commit into
Conversation
This branch has not been deployed
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
gron --values file.groncurrently ignores the selected file: gronValues scans os.Stdin and writes directly to os.Stdout rather than using the reader/writer passed by the CLI. With a file containingjson.name = "file value";and a different stdin value, the command prints the stdin value.Use the supplied reader and writer, matching the other actions. Regression cases cover mixed scalars, ignored container assignments, decoded Unicode/escaped strings, a root scalar and empty input. The actual CLI now reads the file correctly; implicit stdin and explicit
-still work.Validation on Go 1.26.0 / macOS arm64:
./script/test,go test -race ./... -count=1 -timeout=120s,go vet ./..., gofmt and diff check passed../script/lintusing a recovered, isolated gometalinter v3.0.0 toolchain. It exits 1 with two existing golint naming warnings in unchangedurl_test.go(envHttpProxy at line 32 and envHttpsProxy at line 79). An untouched copy of the base produces byte-identical diagnostics; this patch adds none. The full lint result is not green.Linux/Windows, the release Go matrix and actual URL input were not tested locally. This changes stream routing only; it does not address the separate BOM or malformed-input reports.