Skip to content

Commit 5664cc9

Browse files
committed
fix: Addressing lints
1 parent 445cb36 commit 5664cc9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/discovery/phase_worktree.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ func (p *WorktreePhase) discoverInWorktree(
200200
// Git expressions are excluded to avoid infinite recursion (the worktree phase is
201201
// already handling them). All other filters (path, attribute, negation) are included
202202
// so that exclusions and type constraints apply within sub-discoveries.
203-
allFilters := append(filters, discovery.filters.ExcludingGitFilters()...)
203+
allFilters := slices.Concat(filters, discovery.filters.ExcludingGitFilters())
204204

205205
subDiscovery := NewDiscovery(wt.Path).
206206
WithFilters(allFilters).

0 commit comments

Comments
 (0)