From 7889a5b0cd99d5e3f279dba2eb8d085fe6816e04 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C3=ABl=20Minelli?= <michael@minelli.me>
Date: Wed, 9 Aug 2023 12:31:52 +0200
Subject: [PATCH] TypeScriptExtension => Suppress IDEA warning

---
 helpers/TypeScriptExtensions.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/helpers/TypeScriptExtensions.ts b/helpers/TypeScriptExtensions.ts
index 50c386f..c5093d8 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] || '';
         });
     };
-- 
GitLab