Fix spurious spaces in variable expansions.
This commit is contained in:
parent
39aebf9e77
commit
9403175f0a
1 changed files with 1 additions and 0 deletions
|
|
@ -63,6 +63,7 @@ func expand(input string, vars map[string][]string, expandBackticks bool) []stri
|
|||
if len(outparts) > 1 {
|
||||
parts = append(parts, outparts[1:len(outparts)-1]...)
|
||||
}
|
||||
expanded = parts[len(parts)-1]
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue