mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-02 14:17:14 +00:00
chore: Lint extensions folder.
This commit is contained in:
@@ -367,7 +367,9 @@ function runTailscaleCommand(
|
||||
|
||||
export async function getTailscaleSelfInfo(): Promise<TailscaleSelfInfo | null> {
|
||||
const { code, stdout } = await runTailscaleCommand(["status", "--json"]);
|
||||
if (code !== 0) return null;
|
||||
if (code !== 0) {
|
||||
return null;
|
||||
}
|
||||
|
||||
try {
|
||||
const status = JSON.parse(stdout);
|
||||
|
||||
Reference in New Issue
Block a user