Fix formatting

This commit is contained in:
Monard Vong 2019-09-16 00:03:10 +02:00
parent 13b8fb6345
commit d96cbfe0d3
1 changed files with 1 additions and 1 deletions

View File

@ -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 {