mirror of
https://github.com/hashicorp/vault-action.git
synced 2025-11-09 08:06:55 +00:00
- Support complex keys, such as yaml/json files (#173)
This commit is contained in:
parent
2fb78ab91e
commit
1d4917ec58
1 changed files with 1 additions and 1 deletions
|
|
@ -73,7 +73,7 @@ function selectData(data, selector) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (result.startsWith(`"`)) {
|
if (result.startsWith(`"`)) {
|
||||||
result = result.substring(1, result.length - 1);
|
result = JSON.parse(result);
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue