fix: Get the same behavior described in Docs(#71) (#85)

Now trying read body path first then falling back on body
This commit is contained in:
A1lo
2021-03-21 13:52:16 +08:00
committed by GitHub
parent affa18ef97
commit dac15d39e4
2 changed files with 4 additions and 4 deletions

View File

@ -58,9 +58,9 @@ describe("util", () => {
})
);
});
it("defaults to body when both body and body path are provided", () => {
it("defaults to body path when both body and body path are provided", () => {
assert.equal(
"foo",
"bar",
releaseBody({
github_ref: "",
github_repository: "",