fix: satisfy bun biome formatting
This commit is contained in:
parent
c1d8508748
commit
d83ea305b5
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user