diff --git a/helpers/TypeScriptExtensions.ts b/helpers/TypeScriptExtensions.ts index 50c386fcc9b9c5b411580b2fbdfdf378ba5e5de9..c5093d859f552e7f28068f8883d2ffba82fb6e71 100644 --- a/helpers/TypeScriptExtensions.ts +++ b/helpers/TypeScriptExtensions.ts @@ -59,7 +59,7 @@ function registerStringCapitalizeName() { function registerStringConvertWithEnvVars() { String.prototype.convertWithEnvVars = function (this: string): string { - return this.replace(/\${?([a-zA-Z0-9_]+)}?/g, (match: string, p1: string) => { + return this.replace(/\${?([a-zA-Z0-9_]+)}?/g, (_match: string, p1: string) => { return process.env[p1] || ''; }); };