auto-fixed prefer-const violation

This commit is contained in:
Johannes
2022-06-08 17:49:21 +02:00
parent aa23a0dbb7
commit 0656d21d11
862 changed files with 6489 additions and 6489 deletions

View File

@@ -349,7 +349,7 @@ function setCaseInsensitive(env: { [key: string]: unknown }, key: string, value:
function removeNulls(env: { [key: string]: unknown | null }): void {
// Don't delete while iterating the object itself
for (let key of Object.keys(env)) {
for (const key of Object.keys(env)) {
if (env[key] === null) {
delete env[key];
}