Skip to content

Commit 394b696

Browse files
committed
rename func to handleShVar
1 parent 9704dc5 commit 394b696

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

variables.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ func (e *Executor) getVariables(call Call) (Vars, error) {
147147
resolveShell := func(dest Vars, keys []string) error {
148148
for _, k := range keys {
149149
v := dest[k]
150-
static, err := e.handleDynamicVariableContent(v)
150+
static, err := e.handleShVar(v)
151151
if err != nil {
152152
return err
153153
}
@@ -193,7 +193,7 @@ func getEnvironmentVariables() Vars {
193193
return m
194194
}
195195

196-
func (e *Executor) handleDynamicVariableContent(v Var) (string, error) {
196+
func (e *Executor) handleShVar(v Var) (string, error) {
197197
if v.Static != "" {
198198
return v.Static, nil
199199
}

0 commit comments

Comments
 (0)