Skip to content

Commit 4e8c8a0

Browse files
style(cli): format browser setup files
Co-Authored-By: Claude Fable 5.1 <[email protected]>
1 parent 0c51a38 commit 4e8c8a0

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

‎apps/server/src/cli/browser.test.ts‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,9 @@ it.effect("setup in a root shell warns that the server cannot run as root", () =
119119
it.effect("setup without root does not report a host without fonts as ready", () =>
120120
Effect.gen(function* () {
121121
const { commands, output } = yield* runSetup({ root: false });
122-
expect(output).toContain("T3's browser needs fontconfig and system fonts; setup installs them.");
122+
expect(output).toContain(
123+
"T3's browser needs fontconfig and system fonts; setup installs them.",
124+
);
123125
expect(output).toContain("This needs root. Run:");
124126
expect(output).not.toContain("ready");
125127
expect(aptGet(commands)).toEqual([]);

‎apps/server/src/cli/browser.ts‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,9 @@ const browserSetupCommand = Command.make("setup", { baseDir: baseDirFlag }).pipe
152152
yield* Console.log(`T3's browser is missing ${missing.join(", ")}; setup installs them.`);
153153
}
154154
if (needsFonts) {
155-
yield* Console.log("T3's browser needs fontconfig and system fonts; setup installs them.");
155+
yield* Console.log(
156+
"T3's browser needs fontconfig and system fonts; setup installs them.",
157+
);
156158
}
157159
return yield* Console.log(`\nThis needs root. Run:\n\n ${setupCommand}\n`);
158160
}

0 commit comments

Comments
 (0)