Skip to content

Commit

Permalink
moving async call
Browse files Browse the repository at this point in the history
  • Loading branch information
shunjid committed Sep 9, 2020
1 parent 0a4b7fc commit 3aec3cf
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 @@ -76,7 +76,7 @@ const MyOctokit = Octokit.plugin(createPullRequest);
content: result[0],
});
})
.finally(function () {
.finally(async function () {
let encodedStructure = {};

if (final.length == files.length && !currentBranch.startsWith('_minisauras_') && files.length !== 0) {
Expand Down

0 comments on commit 3aec3cf

Please sign in to comment.