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 committed May 1, 2024
1 parent 78188b8 commit 2fe1d8b
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 2fe1d8b

Please sign in to comment.