5
0
Fork 0
mirror of https://github.com/hashicorp/vault-action.git synced 2025-11-07 07:06:56 +00:00

fix: remove case transformation in normalizeOutputKey

This commit is contained in:
Martin Bruset Solberg 2024-03-20 13:21:03 +01:00
parent 77efb36ae3
commit 3bed8c4c0f
No known key found for this signature in database
GPG key ID: 05C555E98F525A3A
2 changed files with 0 additions and 6 deletions

3
dist/index.js vendored
View file

@ -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;
}

View file

@ -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;
}