removing more leading-none (#8464)
This commit is contained in:
parent
692f2778e4
commit
f6d00a41fb
|
@ -1,7 +1,6 @@
|
|||
const https = require("https");
|
||||
|
||||
async function applyLabelFromLinkedIssueToPR(pr, token) {
|
||||
|
||||
// Get the labels from issues linked to the PR
|
||||
const query = `
|
||||
query GetLinkedIssues($owner: String!, $repo: String!, $prNumber: Int!) {
|
||||
|
@ -38,7 +37,7 @@ async function applyLabelFromLinkedIssueToPR(pr, token) {
|
|||
headers: {
|
||||
"Content-Type": "application/json",
|
||||
"Content-Length": graphqlData.length,
|
||||
"Authorization": "Bearer " + token,
|
||||
Authorization: "Bearer " + token,
|
||||
"User-Agent": "Node.js",
|
||||
},
|
||||
};
|
||||
|
@ -52,14 +51,7 @@ async function applyLabelFromLinkedIssueToPR(pr, token) {
|
|||
responseBody += chunk;
|
||||
});
|
||||
response.on("end", () => {
|
||||
resolve(
|
||||
JSON.parse(responseBody)
|
||||
?.data
|
||||
?.repository
|
||||
?.pullRequest
|
||||
?.closingIssuesReferences
|
||||
?.nodes
|
||||
);
|
||||
resolve(JSON.parse(responseBody)?.data?.repository?.pullRequest?.closingIssuesReferences?.nodes);
|
||||
});
|
||||
});
|
||||
|
||||
|
@ -96,7 +88,7 @@ async function applyLabelFromLinkedIssueToPR(pr, token) {
|
|||
headers: {
|
||||
"Content-Type": "application/json",
|
||||
"Content-Length": labelsData.length,
|
||||
"Authorization": "Bearer " + token,
|
||||
Authorization: "Bearer " + token,
|
||||
"User-Agent": "Node.js",
|
||||
},
|
||||
};
|
||||
|
@ -126,11 +118,9 @@ async function applyLabelFromLinkedIssueToPR(pr, token) {
|
|||
console.log(`Error labelling PR: ${labelResult.message}`);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
console.log(
|
||||
`Applied labels: ${labels.join(", ")} to PR #${
|
||||
pr.number
|
||||
} from linked issue #${issue.number}`
|
||||
`Applied labels: ${labels.join(", ")} to PR #${pr.number} from linked issue #${issue.number}`
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,11 +11,11 @@ export const InstallAppButtonMap = {
|
|||
vital: dynamic(() => import("./vital/components/InstallAppButton")),
|
||||
};
|
||||
export const AppSettingsComponentsMap = {
|
||||
"general-app-settings": dynamic(() =>
|
||||
import("./templates/general-app-settings/components/AppSettingsInterface")
|
||||
"general-app-settings": dynamic(
|
||||
() => import("./templates/general-app-settings/components/AppSettingsInterface")
|
||||
),
|
||||
weather_in_your_calendar: dynamic(() =>
|
||||
import("./weather_in_your_calendar/components/AppSettingsInterface")
|
||||
weather_in_your_calendar: dynamic(
|
||||
() => import("./weather_in_your_calendar/components/AppSettingsInterface")
|
||||
),
|
||||
zapier: dynamic(() => import("./zapier/components/AppSettingsInterface")),
|
||||
};
|
||||
|
@ -29,10 +29,10 @@ export const EventTypeAddonMap = {
|
|||
qr_code: dynamic(() => import("./qr_code/components/EventTypeAppCardInterface")),
|
||||
rainbow: dynamic(() => import("./rainbow/components/EventTypeAppCardInterface")),
|
||||
stripepayment: dynamic(() => import("./stripepayment/components/EventTypeAppCardInterface")),
|
||||
"booking-pages-tag": dynamic(() =>
|
||||
import("./templates/booking-pages-tag/components/EventTypeAppCardInterface")
|
||||
"booking-pages-tag": dynamic(
|
||||
() => import("./templates/booking-pages-tag/components/EventTypeAppCardInterface")
|
||||
),
|
||||
"event-type-app-card": dynamic(() =>
|
||||
import("./templates/event-type-app-card/components/EventTypeAppCardInterface")
|
||||
"event-type-app-card": dynamic(
|
||||
() => import("./templates/event-type-app-card/components/EventTypeAppCardInterface")
|
||||
),
|
||||
};
|
||||
|
|
|
@ -4,10 +4,7 @@ export function Label(props: JSX.IntrinsicElements["label"]) {
|
|||
return (
|
||||
<label
|
||||
{...props}
|
||||
className={classNames(
|
||||
"text-default text-emphasis mb-2 block text-sm font-medium leading-none",
|
||||
props.className
|
||||
)}>
|
||||
className={classNames("text-default text-emphasis mb-2 block text-sm font-medium", props.className)}>
|
||||
{props.children}
|
||||
</label>
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue
Block a user