diff --git a/src/hooks/init.ts b/src/hooks/init.ts index 79e591c4..22472ac7 100644 --- a/src/hooks/init.ts +++ b/src/hooks/init.ts @@ -28,8 +28,8 @@ export const init: Interfaces.Hook<'init'> = async function (opts) { const autoupdateEnv = { ...process.env, - [this.config.scopedEnvVarKey('TIMESTAMPS')]: '1', - [this.config.scopedEnvVarKey('SKIP_ANALYTICS')]: '1', + ...this.config.scopedEnvVarKeys('TIMESTAMPS').map(key => [key: '1']), + ...this.config.scopedEnvVarKeys('SKIP_ANALYTICS').map(key => [key: '1']), } async function autoupdateNeeded(): Promise {