Skip to content

Conversation

maxmzkrcensys
Copy link
Contributor

@maxmzkrcensys maxmzkrcensys commented Jul 9, 2025

fixes #2309

Internal tasks cannot be ran from the command line, so it doesn't make sense to suggest them when fixing typos on the command line

Without the changes, the added test fails with

 executor_test.go:974: Error Trace: /home/max/task/executor_test.go:205 Error: Error message not equal: expected: "task: Task \"intern\" does not exist" actual : "task: Task \"intern\" does not exist. Did you mean \"internal\"?" Test: TestFuzzyModel/intern 
@maxmzkrcensys maxmzkrcensys force-pushed the maxmzkr/dont-suggest-internal branch from 7e600f8 to a50756c Compare July 9, 2025 17:03
@maxmzkrcensys maxmzkrcensys force-pushed the maxmzkr/dont-suggest-internal branch from a50756c to a37a407 Compare July 9, 2025 17:05
Copy link
Member

@pd93 pd93 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks for the contribution. Just needs a quick +1 from another maintainer.

@pd93 pd93 requested review from andreynering and vmaerten July 9, 2025 17:31
Copy link
Member

@andreynering andreynering left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, thanks for contributing!

@pd93 pd93 merged commit fe2da74 into go-task:main Jul 9, 2025
15 checks passed
pd93 added a commit that referenced this pull request Jul 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants