Fix format string errors after golang.org/x/term upgrade to 0.39.0#114
Merged
MrJeffLarry merged 2 commits intodependabot/go_modules/golang.org/x/term-0.39.0from Jan 21, 2026
Merged
Conversation
Co-authored-by: MrJeffLarry <369605+MrJeffLarry@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Bump golang.org/x/term from 0.32.0 to 0.39.0
Fix format string errors after golang.org/x/term upgrade to 0.39.0
Jan 21, 2026
MrJeffLarry
approved these changes
Jan 21, 2026
5f7c3f5
into
dependabot/go_modules/golang.org/x/term-0.39.0
3 checks passed
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.
The dependency upgrade exposed format string vulnerabilities where error messages were passed directly as format strings to print functions, triggering Go's non-constant format string checker.
Changes
Debug()to useSprint()instead ofSprintf()when format string has no variadic arguments"%s"format specifier to 9 error print calls"%s"format specifier to 6 error/info print calls"%s"format specifier to 13 error print calls across create.go, edit.go, and note.goExample
Security
No vulnerabilities found in golang.org/x/term v0.39.0 via GitHub Advisory Database.
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.