fix: align tailscale formatting
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user