mirror of
https://github.com/go-task/task.git
synced 2025-03-17 21:08:01 +02:00
rename func to handleShVar
This commit is contained in:
parent
9704dc5734
commit
394b69676a
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user