fix: satisfy bun biome formatting

This commit is contained in:
Peter Steinberger
2026-01-01 16:54:46 +00:00
parent c1d8508748
commit d83ea305b5

View File

@@ -3,7 +3,10 @@ import { spawnSync } from "node:child_process";
const DEFAULT_LAUNCHD_LABEL = "com.steipete.clawdis";
const DEFAULT_SYSTEMD_UNIT = "clawdis-gateway.service";
export function triggerClawdisRestart(): "launchctl" | "systemd" | "supervisor" {
export function triggerClawdisRestart():
| "launchctl"
| "systemd"
| "supervisor" {
if (process.platform !== "darwin") {
if (process.platform === "linux") {
const unit = process.env.CLAWDIS_SYSTEMD_UNIT || DEFAULT_SYSTEMD_UNIT;