mirror of
https://gitea.com/Lydanne/issues-helper.git
synced 2025-08-19 18:25:58 +08:00
fix: mark-duplicate
labels invalid (#116)
* test * test * fix labels length
This commit is contained in:
@@ -344,7 +344,7 @@ export async function doMarkDuplicate(
|
||||
if (duplicateLabels) {
|
||||
newLabels = [...newLabels, ...dealStringToArr(duplicateLabels)];
|
||||
}
|
||||
if (labels) {
|
||||
if (labels?.length) {
|
||||
newLabels = [...labels];
|
||||
}
|
||||
if (newLabels.length > 0) {
|
||||
|
Reference in New Issue
Block a user