Skip to content

Commit 81b0ffb

Browse files
committed
rename: readTaskvarsFile() -> readTaskvars()
1 parent 0da130e commit 81b0ffb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

taskfile.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ func (e *Executor) ReadTaskfile() error {
3131
if err := mergo.MapWithOverwrite(&e.Tasks, osTasks); err != nil {
3232
return err
3333
}
34-
return e.readTaskvarsFile()
34+
return e.readTaskvars()
3535
}
3636

3737
func (e *Executor) readTaskfileData(path string) (tasks map[string]*Task, err error) {
@@ -41,7 +41,7 @@ func (e *Executor) readTaskfileData(path string) (tasks map[string]*Task, err er
4141
return nil, taskFileNotFound{path}
4242
}
4343

44-
func (e *Executor) readTaskvarsFile() error {
44+
func (e *Executor) readTaskvars() error {
4545
file := filepath.Join(e.Dir, TaskvarsFilePath)
4646

4747
if b, err := ioutil.ReadFile(file + ".yml"); err == nil {

0 commit comments

Comments
 (0)