From f3f0d0eb21152d1b405c42343203454133b39c3d Mon Sep 17 00:00:00 2001 From: wukko Date: Tue, 5 Mar 2024 19:55:58 +0600 Subject: [PATCH] alias-envs: delete old env --- src/modules/sub/alias-envs.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modules/sub/alias-envs.js b/src/modules/sub/alias-envs.js index 6cf775ef..f8823b6e 100644 --- a/src/modules/sub/alias-envs.js +++ b/src/modules/sub/alias-envs.js @@ -18,5 +18,6 @@ for (const [ oldEnv, newEnv ] of Object.entries(mapping)) { console.error(`${Red('[!]')} ${oldEnv} is deprecated and will be removed in a future version.`); console.error(` You should use ${newEnv} instead.`); console.error(); + delete process.env[oldEnv]; } }