Fix formatting
This commit is contained in:
parent
13b8fb6345
commit
d96cbfe0d3
|
|
@ -66,7 +66,7 @@ func ResolveEnvironmentReplacement(value string, envs []string, isFilepath bool)
|
|||
shlex := shell.NewLex(parser.DefaultEscapeToken)
|
||||
fp, err := shlex.ProcessWord(value, envs)
|
||||
// Check after replacement if value is a remote URL
|
||||
if !isFilepath || IsSrcRemoteFileURL(fp) {
|
||||
if !isFilepath || IsSrcRemoteFileURL(fp) {
|
||||
return fp, err
|
||||
}
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Reference in New Issue