Skip to content

Commit

Permalink
fix: Parse secret values
Browse files Browse the repository at this point in the history
  • Loading branch information
colinjfw committed Sep 1, 2019
1 parent bafcbde commit 64b622a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ function getValues(values) {
function getSecrets(secrets) {
if (typeof secrets === "string") {
try {
return JSON.stringify(secrets);
return JSON.parse(secrets);
} catch (err) {
return secrets;
}
Expand Down

0 comments on commit 64b622a

Please sign in to comment.