Skip to content

Commit d52acfb

Browse files
committed
fix: the test command's --tags option now includes matching CheckGroups
This is the intended behavior, but an oversight in the code effectively disabled it.
1 parent 04de119 commit d52acfb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: packages/cli/src/commands/test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ export default class Test extends AuthCommand {
203203
const checkGroup = this.getCheckGroup(project, check)
204204
if (checkGroup) {
205205
const checkGroupTags = checkGroup.tags ?? []
206-
tags.concat(checkGroupTags)
206+
tags.push(...checkGroupTags)
207207
}
208208
return filterByTags(targetTags?.map((tags: string) => tags.split(',')) ?? [], tags)
209209
})

0 commit comments

Comments
 (0)