diff --git a/read_taskfile.go b/read_taskfile.go index e76df86f..5d063b08 100644 --- a/read_taskfile.go +++ b/read_taskfile.go @@ -4,8 +4,6 @@ import ( "encoding/json" "fmt" "io/ioutil" - "os" - "runtime" "github.com/BurntSushi/toml" @@ -45,14 +43,3 @@ func readTaskfileData(path string) (tasks map[string]*Task, err error) { } return nil, taskFileNotFound{path} } - -func exists(path string) (bool, error) { - _, err := os.Stat(path) - if err == nil { - return true, nil - } - if os.IsNotExist(err) { - return false, nil - } - return true, err -}