alias-envs: delete old env

This commit is contained in:
wukko 2024-03-05 19:55:58 +06:00
parent bcda104ddb
commit f3f0d0eb21

View file

@ -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];
}
}