Skip to content

Commit 5e5c06a

Browse files
Update to v2.1.2 (#180)
* Update to v2.1.2 * Update index.js
1 parent ff547e1 commit 5e5c06a

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
## Unreleased
22

3+
## 2.1.2 (January 21st, 2021)
4+
35
Bugs:
46
* fixed bug where newlines were being rendered for multi-line secrets [GH-173](https://github.com/hashicorp/vault-action/pull/173)
57

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
steps:
3737
# ...
3838
- name: Import Secrets
39-
uses: hashicorp/vault-action@v2.1.1
39+
uses: hashicorp/vault-action@v2.1.2
4040
with:
4141
url: https://vault.mycompany.com:8200
4242
token: ${{ secrets.VaultToken }}

dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10772,7 +10772,7 @@ function selectData(data, selector) {
1077210772
}
1077310773

1077410774
if (result.startsWith(`"`)) {
10775-
result = result.substring(1, result.length - 1);
10775+
result = JSON.parse(result);
1077610776
}
1077710777
return result;
1077810778
}

0 commit comments

Comments
 (0)