fix: update log message formatting in env.util.ts

The updated code includes a refactoring of the debug log message in the `get` method of `env.util.ts`. The log message is now constructed using template strings, achieving a cleaner and more readable format.
This commit is contained in:
Mathis H (Avnyr) 2024-05-24 11:39:58 +02:00
parent 0028d2fb50
commit 33c1214c29
Signed by: Mathis
GPG Key ID: DD9E0666A747D126

View File

@ -12,7 +12,7 @@ export class EnvUtils {
get(envName: string) {
const value = this._envs[`${envName.toString()}`]?.toString();
this.log.debug(`Getting environment variable..`, `${envName} = "${value}"`);
this.log.debug("Getting environment variable..", `${envName} = "${value}"`);
return value || null;
}
}