ソースを参照

chore: generate

opencode-agent[bot] 1 日 前
コミット
01b7b53eeb
1 ファイル変更1 行追加3 行削除
  1. 1 3
      packages/cli/bin/opencode2.cjs

+ 1 - 3
packages/cli/bin/opencode2.cjs

@@ -6,9 +6,7 @@ const path = require("path")
 const os = require("os")
 
 const forwardedSignals =
-  process.platform === "win32"
-    ? ["SIGINT", "SIGTERM", "SIGHUP"]
-    : ["SIGINT", "SIGTERM", "SIGHUP", "SIGUSR1"]
+  process.platform === "win32" ? ["SIGINT", "SIGTERM", "SIGHUP"] : ["SIGINT", "SIGTERM", "SIGHUP", "SIGUSR1"]
 
 function run(target) {
   const child = childProcess.spawn(target, process.argv.slice(2), { stdio: "inherit" })