mirror of
https://github.com/hashicorp/vault-action.git
synced 2026-07-26 00:13:16 +03:00
fix: replace all dot chars during normalization (#580)
* fix: replace all dot chars during normalization * changelog
This commit is contained in:
committed by
GitHub
parent
4d5899dd0e
commit
b022ecdb0c
Vendored
+1
-1
@@ -19309,7 +19309,7 @@ module.exports = {
|
||||
*/
|
||||
function normalizeOutputKey(dataKey, upperCase = false) {
|
||||
let outputKey = dataKey
|
||||
.replace(".", "__")
|
||||
.replaceAll(".", "__")
|
||||
.replace(new RegExp("-", "g"), "")
|
||||
.replace(/[^\p{L}\p{N}_-]/gu, "");
|
||||
if (upperCase) {
|
||||
|
||||
Reference in New Issue
Block a user