Skip to content

Commit e92e1cc

Browse files
committed
fix pre-commit
1 parent a128658 commit e92e1cc

File tree

2 files changed

+15
-4
lines changed

2 files changed

+15
-4
lines changed

src/pages/status/migration/styles.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@
300300
border: 1px solid var(--ifm-color-emphasis-300);
301301
border-radius: 4px;
302302
background-color: var(--ifm-color-emphasis-0);
303-
box-shadow: 0 2px 8px rgba(0,0,0,0.15);
303+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
304304
z-index: 1000;
305305
min-width: 400px;
306306
}

src/utils/migrationGraphUtils.js

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,11 @@ export const getStatusColor = (prStatus) => {
7474
};
7575

7676
export const getStatusTextColor = (prStatus) => {
77-
if (["clean", "done", "unstable", "awaiting-parents", "in-pr"].includes(prStatus)) {
77+
if (
78+
["clean", "done", "unstable", "awaiting-parents", "in-pr"].includes(
79+
prStatus,
80+
)
81+
) {
7882
return "#ffffff";
7983
}
8084
return "#000000";
@@ -221,9 +225,16 @@ export const buildGraphDataStructure = (feedstockStatus, details = null) => {
221225
// Build category map from details for quick lookup
222226
const nodeCategoryMap = {};
223227
if (details) {
224-
["done", "in-pr", "awaiting-pr", "awaiting-parents", "not-solvable", "bot-error"].forEach(category => {
228+
[
229+
"done",
230+
"in-pr",
231+
"awaiting-pr",
232+
"awaiting-parents",
233+
"not-solvable",
234+
"bot-error",
235+
].forEach((category) => {
225236
if (details[category]) {
226-
details[category].forEach(nodeName => {
237+
details[category].forEach((nodeName) => {
227238
nodeCategoryMap[nodeName] = category;
228239
});
229240
}

0 commit comments

Comments
 (0)