Skip to content

Commit dc587ab

Browse files
style: auto-fix formatting
1 parent c91c7c5 commit dc587ab

3 files changed

Lines changed: 5 additions & 8 deletions

File tree

showcase/scripts/bundle-demo-content.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -564,10 +564,7 @@ if (process.argv.includes("--watch")) {
564564
}
565565
} catch (e) {
566566
const err = e as Error;
567-
if (
568-
lastWatchError &&
569-
lastWatchError.message === err.message
570-
) {
567+
if (lastWatchError && lastWatchError.message === err.message) {
571568
console.error(`[watch] bundle still failing: ${err.message}`);
572569
} else {
573570
console.error("[watch] bundle failed:", err);

showcase/scripts/generate-status.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,9 +165,7 @@ async function main() {
165165
console.warn(
166166
`WARNING: generate-status is emitting MOCK data for: ${activeMocks.join(", ")}`,
167167
);
168-
console.warn(
169-
"These columns do NOT reflect real test results. Unset the",
170-
);
168+
console.warn("These columns do NOT reflect real test results. Unset the");
171169
console.warn(
172170
"GENERATE_STATUS_MOCK_* env vars to emit `null` (unknown) instead.",
173171
);

showcase/scripts/probe-docs.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,9 @@ async function probeOg(url: string | undefined): Promise<DocState> {
102102
const e = err as Error & { code?: string; cause?: { code?: string } };
103103
const code = e.code ?? e.cause?.code ?? "";
104104
const detail = code ? `${e.name}:${code}` : e.name;
105-
console.warn(`[probe-docs] probeOg failed ${url} (${detail}): ${e.message}`);
105+
console.warn(
106+
`[probe-docs] probeOg failed ${url} (${detail}): ${e.message}`,
107+
);
106108
return "error";
107109
} finally {
108110
clearTimeout(timer);

0 commit comments

Comments
 (0)