From adf4aa5f8a0d18d97dd60dd54220a9df27170c75 Mon Sep 17 00:00:00 2001 From: dessant Date: Wed, 22 Nov 2023 10:18:09 +0200 Subject: [PATCH] chore: update package --- dist/index.js | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/dist/index.js b/dist/index.js index fafa9c8..53d1ec5 100644 --- a/dist/index.js +++ b/dist/index.js @@ -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); } @@ -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({