Skip to content

Commit

Permalink
Try to fix json output
Browse files Browse the repository at this point in the history
  • Loading branch information
lowlighter committed Jun 5, 2021
1 parent b24c26f commit 1a52951
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/app/action/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ async function wait(seconds) {
...github.context.repo,
path:filename,
message:committer.message,
content:Buffer.from(rendered).toString("base64"),
content:Buffer.from(typeof rendered === "object" ? JSON.stringify(rendered) : `${rendered}`).toString("base64"),
branch:committer.pr ? committer.head : committer.branch,
...(committer.sha ? {sha:committer.sha} : {}),
})
Expand Down

0 comments on commit 1a52951

Please sign in to comment.