Skip to content

Commit

Permalink
fix assign follow symlink flag
Browse files Browse the repository at this point in the history
Co-authored-by: Jason Song <i@wolfogre.com>
  • Loading branch information
ChristopherHX and wolfogre authored Aug 4, 2023
1 parent af32fab commit d3e4076
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/runner/expression.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ func getHashFilesFunction(ctx context.Context, rc *RunContext) func(v []reflect.
if i == 0 {
if strings.HasPrefix(s, "--") {
if strings.EqualFold(s, "--follow-symbolic-links") {
followSymlink = true
continue
}
return "", fmt.Errorf("Invalid glob option %s, available option: '--follow-symbolic-links'", s)
Expand Down

0 comments on commit d3e4076

Please sign in to comment.