Skip to content

Commit

Permalink
fix: remove case transformation in normalizeOutputKey
Browse files Browse the repository at this point in the history
  • Loading branch information
martinsolberg committed Mar 20, 2024
1 parent 77efb36 commit 3bed8c4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
3 changes: 0 additions & 3 deletions src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 3bed8c4

Please sign in to comment.