Skip to content

Commit

Permalink
chore: update package
Browse files Browse the repository at this point in the history
  • Loading branch information
dessant committed Nov 22, 2023
1 parent 0a63678 commit adf4aa5
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -46905,7 +46905,10 @@ const extendedJoi = lib.extend(joi => {
if (value) {
value = value
.split(',')
.map(item => item.trim())
.map(item =>
// remove quotes around list item
item.replace(/^\s*["'](.+)["']\s*$/, '$1').trim()
)
.filter(Boolean);
}

Expand Down Expand Up @@ -47497,12 +47500,16 @@ class App {
.map(label => `label:"${label}"`)
.join(' ')}`;
} else if (includeAnyLabels) {
query += ` label:${includeAnyLabels.join(',')}`;
query += ` label:${includeAnyLabels
.map(label => `"${label}"`)
.join(',')}`;
}

const excludeAnyLabels = this.config[`exclude-any-${threadType}-labels`];
if (excludeAnyLabels) {
query += ` -label:${excludeAnyLabels.join(',')}`;
query += ` -label:${excludeAnyLabels
.map(label => `"${label}"`)
.join(',')}`;
}

const excludeCreatedQuery = this.getFilterByDateQuery({
Expand Down

0 comments on commit adf4aa5

Please sign in to comment.