Skip to content

Commit

Permalink
chore: Remove check on ** glob.
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias Glastra <matglas.git@gmail.com>
  • Loading branch information
matglas authored and jkjell committed May 8, 2024
1 parent acca48c commit aba566e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions cmd/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,10 +135,6 @@ func runRun(ctx context.Context, ro options.RunOptions, args []string, signers .
}

for _, dirHashGlobItem := range ro.DirHashGlobs {
if strings.Contains(dirHashGlobItem, "**") {
return fmt.Errorf("failed to parse dirhash-glob: can not contain deep (**) glob matches.")
}

_, err := glob.Compile(dirHashGlobItem)
if err != nil {
return fmt.Errorf("failed to compile glob: %v", err)
Expand Down

0 comments on commit aba566e

Please sign in to comment.