mirror of
https://github.com/go-task/task.git
synced 2026-06-11 09:51:50 +00:00
feat: root remote taskfiles
This commit is contained in:
@@ -5,7 +5,6 @@ import (
|
||||
"fmt"
|
||||
"log"
|
||||
"os"
|
||||
"path/filepath"
|
||||
"strings"
|
||||
|
||||
"github.com/spf13/pflag"
|
||||
@@ -94,11 +93,6 @@ func run() error {
|
||||
dir = home
|
||||
}
|
||||
|
||||
if entrypoint != "" {
|
||||
dir = filepath.Dir(entrypoint)
|
||||
entrypoint = filepath.Base(entrypoint)
|
||||
}
|
||||
|
||||
var taskSorter sort.TaskSorter
|
||||
switch flags.TaskSort {
|
||||
case "none":
|
||||
|
||||
Reference in New Issue
Block a user