1
0
mirror of https://github.com/go-task/task.git synced 2025-11-23 22:24:45 +02:00

Use stdlib instead of go-homedir

This commit is contained in:
Andrey Nering
2019-09-08 22:07:48 -03:00
parent bcbb85eac3
commit 84da80356d
3 changed files with 1 additions and 5 deletions

View File

@@ -14,7 +14,6 @@ import (
"github.com/go-task/task/v2"
"github.com/go-task/task/v2/internal/taskfile"
"github.com/mitchellh/go-homedir"
"github.com/stretchr/testify/assert"
)
@@ -479,7 +478,7 @@ func TestTaskIgnoreErrors(t *testing.T) {
func TestExpand(t *testing.T) {
const dir = "testdata/expand"
home, err := homedir.Dir()
home, err := os.UserHomeDir()
if err != nil {
t.Errorf("Couldn't get $HOME: %v", err)
}