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

feat: create NoSort sorter for CLI sort option "none" (#2125)

This commit is contained in:
Timothy Rule
2025-03-16 14:17:14 +01:00
committed by GitHub
parent b68f4067d9
commit 532644d7f8
3 changed files with 38 additions and 1 deletions

View File

@@ -184,7 +184,7 @@ func WithExecutorOptions() task.ExecutorOption {
var sorter sort.Sorter
switch TaskSort {
case "none":
sorter = nil
sorter = sort.NoSort
case "alphanumeric":
sorter = sort.AlphaNumeric
}