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

- Support complex keys, such as yaml/json files (#173)

This commit is contained in:
bilucodota 2021-01-11 18:47:51 +02:00 committed by GitHub
parent 2fb78ab91e
commit 1d4917ec58
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -73,7 +73,7 @@ function selectData(data, selector) {
}
if (result.startsWith(`"`)) {
result = result.substring(1, result.length - 1);
result = JSON.parse(result);
}
return result;
}