File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change 26
26
labels.splice(index, 1);
27
27
}
28
28
// Remove needs triage
29
- const index = labels.indexOf("needs triage");
30
- if (index > -1) {
31
- labels.splice(index , 1);
29
+ const triageIndex = labels.indexOf("needs triage");
30
+ if (triageIndex > -1) {
31
+ labels.splice(triageIndex , 1);
32
32
}
33
33
}
34
34
}
@@ -39,15 +39,15 @@ jobs:
39
39
}
40
40
if (labels.includes("incomplete")){
41
41
// Remove incomplete label
42
- const index = labels.indexOf("incomplete");
43
- if (index > -1) {
44
- labels.splice(index , 1);
42
+ const icIndex = labels.indexOf("incomplete");
43
+ if (icIndex > -1) {
44
+ labels.splice(icIndex , 1);
45
45
}
46
46
}
47
47
// Remove needs triage
48
- const index = labels.indexOf("needs triage");
49
- if (index > -1) {
50
- labels.splice(index , 1);
48
+ const triageIndex = labels.indexOf("needs triage");
49
+ if (triageIndex > -1) {
50
+ labels.splice(triageIndex , 1);
51
51
}
52
52
}
53
53
if (labels.length === 0) {
You can’t perform that action at this time.
0 commit comments