1
0
mirror of https://github.com/go-task/task.git synced 2025-05-17 22:32:40 +02:00

Use relative path

This commit is contained in:
Andrey Nering 2017-02-27 10:57:09 -03:00
parent 5b1d106724
commit 7cab3997c1

View File

@ -6,15 +6,12 @@ import (
"log"
"os"
"os/exec"
"path/filepath"
"github.com/kardianos/osext"
"gopkg.in/yaml.v2"
)
var (
CurrentDirectory, _ = osext.ExecutableFolder()
TaskFilePath = filepath.Join(CurrentDirectory, "Taskfile.yml")
TaskFilePath = "Taskfile.yml"
ShExists bool
ShPath string