MCPcopy Create free account
hub / github.com/DIYgod/RSSHub / removeLabel

Function removeLabel

scripts/workflow/test-route/identify.mjs:60–69  ·  view source on GitHub ↗
(labelName = noFound)

Source from the content-addressed store, hash-verified

58 };
59 /** @param {string} labelName */
60 const removeLabel = async (labelName = noFound) => {
61 try {
62 return await github.rest.issues.removeLabel({
63 ...issueFacts,
64 name: labelName,
65 });
66 } catch (error) {
67 core.warning(error);
68 }
69 };
70 /** @param {'open' | 'closed'} state */
71 const updatePrState = async (state) => {
72 try {

Callers 1

identifyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected