style: format gateway-cli log lines
parent
965615a46c
commit
7905a27416
|
|
@ -326,7 +326,9 @@ async function runGatewayCommand(
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
if (waitedMs > 0) {
|
if (waitedMs > 0) {
|
||||||
gatewayLog.info(`force: waited ${waitedMs}ms for port ${port} to free`);
|
gatewayLog.info(
|
||||||
|
`force: waited ${waitedMs}ms for port ${port} to free`,
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
|
|
@ -354,7 +356,9 @@ async function runGatewayCommand(
|
||||||
? tailscaleRaw
|
? tailscaleRaw
|
||||||
: null;
|
: null;
|
||||||
if (tailscaleRaw && !tailscaleMode) {
|
if (tailscaleRaw && !tailscaleMode) {
|
||||||
defaultRuntime.error('Invalid --tailscale (use "off", "serve", or "funnel")');
|
defaultRuntime.error(
|
||||||
|
'Invalid --tailscale (use "off", "serve", or "funnel")',
|
||||||
|
);
|
||||||
defaultRuntime.exit(1);
|
defaultRuntime.exit(1);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue