5
0
Fork 0
mirror of https://github.com/hashicorp/vault-action.git synced 2025-11-14 18:13:45 +00:00

- Support complex keys, such as yaml/json files

This commit is contained in:
Amir Bilu 2021-01-05 15:05:05 +02:00
parent 2fb78ab91e
commit 4fb795a381

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