fix: align tailscale formatting

This commit is contained in:
Peter Steinberger
2026-01-08 05:21:15 +00:00
parent 7d492cb0ab
commit 6850e7b477

View File

@@ -7,9 +7,9 @@ import {
shouldLogVerbose, shouldLogVerbose,
warn, warn,
} from "../globals.js"; } from "../globals.js";
import { colorize, isRich, theme } from "../terminal/theme.js";
import { runExec } from "../process/exec.js"; import { runExec } from "../process/exec.js";
import { defaultRuntime, type RuntimeEnv } from "../runtime.js"; import { defaultRuntime, type RuntimeEnv } from "../runtime.js";
import { colorize, isRich, theme } from "../terminal/theme.js";
import { ensureBinary } from "./binaries.js"; import { ensureBinary } from "./binaries.js";
export async function getTailnetHostname(exec: typeof runExec = runExec) { export async function getTailnetHostname(exec: typeof runExec = runExec) {
@@ -182,14 +182,10 @@ export async function ensureFunnel(
if (shouldLogVerbose()) { if (shouldLogVerbose()) {
const rich = isRich(); const rich = isRich();
if (stdout.trim()) { if (stdout.trim()) {
runtime.error( runtime.error(colorize(rich, theme.muted, `stdout: ${stdout.trim()}`));
colorize(rich, theme.muted, `stdout: ${stdout.trim()}`),
);
} }
if (stderr.trim()) { if (stderr.trim()) {
runtime.error( runtime.error(colorize(rich, theme.muted, `stderr: ${stderr.trim()}`));
colorize(rich, theme.muted, `stderr: ${stderr.trim()}`),
);
} }
runtime.error(err as Error); runtime.error(err as Error);
} }