Skip to content

Commit

Permalink
Allow complex label filters
Browse files Browse the repository at this point in the history
  • Loading branch information
131 committed Oct 27, 2023
1 parent 1bf12c1 commit 6923f7e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions stack.js
Original file line number Diff line number Diff line change
Expand Up @@ -655,9 +655,7 @@ class StackSDK {
if(name)
filters.name = [name];
if(label)
filters.label.push(label);


filters.label.push(...(Array.isArray(label) ? label : [label]));

log.debug(`Checking configs...`, filters);

Expand Down

0 comments on commit 6923f7e

Please sign in to comment.