mirror of
https://github.com/actions/labeler
synced 2026-05-12 16:11:11 +02:00
fix: remove unused error variable in catch block to fix lint
Agent-Logs-Url: https://github.com/actions/labeler/sessions/7a6c6978-c912-4278-be03-f22f98e28f71 Co-authored-by: chiranjib-swain <196914770+chiranjib-swain@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
0fca04870e
commit
4b1ec206c1
@@ -17,7 +17,7 @@ export async function* getPullRequests(
|
|||||||
pull_number: prNumber
|
pull_number: prNumber
|
||||||
});
|
});
|
||||||
prData = result.data;
|
prData = result.data;
|
||||||
} catch (error: any) {
|
} catch {
|
||||||
core.warning(`Could not find pull request #${prNumber}, skipping`);
|
core.warning(`Could not find pull request #${prNumber}, skipping`);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user