1
0
mirror of https://github.com/go-task/task.git synced 2025-08-10 22:42:19 +02:00

fix: don't suggest internal tasks (#2323)

Co-authored-by: Max Mizikar <maxmzkr@gmail.com>
This commit is contained in:
Max Mizikar
2025-07-09 13:36:40 -04:00
committed by GitHub
parent 64fb66895b
commit fe2da74ea3
5 changed files with 19 additions and 0 deletions

View File

@@ -104,6 +104,9 @@ func (e *Executor) setupFuzzyModel() {
var words []string
for name, task := range e.Taskfile.Tasks.All(nil) {
if task.Internal {
continue
}
words = append(words, name)
words = slices.Concat(words, task.Aliases)
}