Skip to content

v.util: fix condition for color attempt when auto tool is diff - #21435

Merged
spytheman merged 1 commit into
vlang:masterfrom
ttytm:util/diff-auto-tool-color
May 6, 2024
Merged

spytheman merged 1 commit into
vlang:masterfrom
ttytm:util/diff-auto-tool-color

Conversation

@ttytm

@ttytm ttytm commented May 5, 2024

Copy link
Copy Markdown
Member

Fixes a mistake where a condition should use tool (the already resolved opts.tool). This will result in a correctly true condition when the opts.tool is == .auto and the auto tool is diff.

@spytheman
spytheman merged commit 996382f into vlang:master May 6, 2024
@ttytm
ttytm deleted the util/diff-auto-tool-color branch May 6, 2024 08:04
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.

2 participants