1
0
mirror of https://github.com/go-task/task.git synced 2025-03-19 21:17:46 +02:00

rename func to handleShVar

This commit is contained in:
Andrey Nering 2017-07-30 20:36:35 -03:00
parent 9704dc5734
commit 394b69676a

View File

@ -147,7 +147,7 @@ func (e *Executor) getVariables(call Call) (Vars, error) {
resolveShell := func(dest Vars, keys []string) error {
for _, k := range keys {
v := dest[k]
static, err := e.handleDynamicVariableContent(v)
static, err := e.handleShVar(v)
if err != nil {
return err
}
@ -193,7 +193,7 @@ func getEnvironmentVariables() Vars {
return m
}
func (e *Executor) handleDynamicVariableContent(v Var) (string, error) {
func (e *Executor) handleShVar(v Var) (string, error) {
if v.Static != "" {
return v.Static, nil
}