mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-30 21:01:54 +08:00
chore(cli): rename internal marker env var to HEXCLAVE_CLI_REEXEC_MARKER
This commit is contained in:
parent
a9c22da3bd
commit
ac9271f487
@ -694,7 +694,7 @@ delete childEnv.HEXCLAVE_DEV_APP_COMMAND_PARENT_PID;
|
||||
delete childEnv.HEXCLAVE_DEV_APP_COMMAND;
|
||||
delete childEnv.HEXCLAVE_DEV_APP_COMMAND_ARGS_JSON;
|
||||
// Internal to the npx auto-update handshake; never meant for the user's command.
|
||||
delete childEnv.STACK_CLI_REEXEC_MARKER;
|
||||
delete childEnv.HEXCLAVE_CLI_REEXEC_MARKER;
|
||||
|
||||
const child = spawn(command, args, {
|
||||
env: childEnv,
|
||||
|
||||
@ -15,7 +15,7 @@ export const DISABLE_AUTO_UPDATE_ENV = "STACK_CLI_NO_AUTO_UPDATE";
|
||||
// exited nonzero) from an npx/install failure where our CLI never ran at all
|
||||
// (e.g. npm "Lock compromised" on sandboxed/networked filesystems). Set by the
|
||||
// parent on the child's env; read back by the parent after the child exits.
|
||||
export const REEXEC_MARKER_ENV = "STACK_CLI_REEXEC_MARKER";
|
||||
export const REEXEC_MARKER_ENV = "HEXCLAVE_CLI_REEXEC_MARKER";
|
||||
|
||||
const LOG_PREFIX = "[Hexclave] ";
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user