alias-envs: delete old env
This commit is contained in:
parent
bcda104ddb
commit
f3f0d0eb21
1 changed files with 1 additions and 0 deletions
|
@ -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(`${Red('[!]')} ${oldEnv} is deprecated and will be removed in a future version.`);
|
||||||
console.error(` You should use ${newEnv} instead.`);
|
console.error(` You should use ${newEnv} instead.`);
|
||||||
console.error();
|
console.error();
|
||||||
|
delete process.env[oldEnv];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue