refactor(non-interactive-env): use args.env instead of command prepending

🤖 GENERATED WITH ASSISTANCE OF [OhMyOpenCode](https://github.com/code-yeongyu/oh-my-opencode)
This commit is contained in:
YeonGyu-Kim
2025-12-15 08:54:33 +09:00
parent 08481c046f
commit 7fd52e27ce
2 changed files with 7 additions and 15 deletions

View File

@@ -1,7 +1,5 @@
export const HOOK_NAME = "non-interactive-env"
export const NULL_DEVICE = process.platform === "win32" ? "NUL" : "/dev/null"
export const NON_INTERACTIVE_ENV: Record<string, string> = {
CI: "true",
DEBIAN_FRONTEND: "noninteractive",