style: format gateway-cli log lines
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user