Skip to content

Commit faa951b

Browse files
committed
style: format launchd regression tests
1 parent f500a7e commit faa951b

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

‎src/daemon/launchd.test.ts‎

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1683,8 +1683,7 @@ describe("launchd install", () => {
16831683
const env = createDefaultLaunchdEnv();
16841684
const plistPath = resolveLaunchAgentPlistPath(env);
16851685
const envFilePath = "/Users/test/.openclaw/service-env/ai.openclaw.gateway.env";
1686-
const wrapperPath =
1687-
"/Users/test/.openclaw/service-env/ai.openclaw.gateway-env-wrapper.sh";
1686+
const wrapperPath = "/Users/test/.openclaw/service-env/ai.openclaw.gateway-env-wrapper.sh";
16881687
state.bootstrapError = "Operation not permitted";
16891688
state.bootstrapTransient = true;
16901689

@@ -1706,10 +1705,9 @@ describe("launchd install", () => {
17061705
const env = createDefaultLaunchdEnv();
17071706
const plistPath = resolveLaunchAgentPlistPath(env);
17081707
const envFilePath = "/Users/test/.openclaw/service-env/ai.openclaw.gateway.env";
1709-
const wrapperPath =
1710-
"/Users/test/.openclaw/service-env/ai.openclaw.gateway-env-wrapper.sh";
1708+
const wrapperPath = "/Users/test/.openclaw/service-env/ai.openclaw.gateway-env-wrapper.sh";
17111709
const previousEnv = "export OPENCLAW_GATEWAY_PORT='18789'\n";
1712-
const previousWrapper = "#!/bin/sh\n. \"$1\"\nshift\nexec \"$@\"\n";
1710+
const previousWrapper = '#!/bin/sh\n. "$1"\nshift\nexec "$@"\n';
17131711
const previous = createTestLaunchAgentPlist({
17141712
label: "ai.openclaw.gateway",
17151713
programArguments: [

0 commit comments

Comments
 (0)