From 3bed8c4c0f27eed06dd8c08198667c58ff83ecea Mon Sep 17 00:00:00 2001 From: Martin Bruset Solberg Date: Wed, 20 Mar 2024 13:21:03 +0100 Subject: [PATCH] fix: remove case transformation in normalizeOutputKey --- dist/index.js | 3 --- src/utils.js | 3 --- 2 files changed, 6 deletions(-) diff --git a/dist/index.js b/dist/index.js index f40a1d9d..e2a30f5a 100644 --- a/dist/index.js +++ b/dist/index.js @@ -14073,9 +14073,6 @@ function normalizeOutputKey(dataKey, isEnvVar = false) { .replace(".", "__") .replace(new RegExp("-", "g"), "") .replace(/[^\p{L}\p{N}_-]/gu, ""); - if (isEnvVar) { - outputKey = outputKey.toUpperCase(); - } return outputKey; } diff --git a/src/utils.js b/src/utils.js index b2fa1510..5e3d99b6 100644 --- a/src/utils.js +++ b/src/utils.js @@ -8,9 +8,6 @@ function normalizeOutputKey(dataKey, isEnvVar = false) { .replace(".", "__") .replace(new RegExp("-", "g"), "") .replace(/[^\p{L}\p{N}_-]/gu, ""); - if (isEnvVar) { - outputKey = outputKey.toUpperCase(); - } return outputKey; }