From 3aec3cf09ffb420fae530ba72aa792e3c4d2f930 Mon Sep 17 00:00:00 2001 From: shunjid Date: Wed, 9 Sep 2020 11:23:04 +0600 Subject: [PATCH] moving async call --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index bb54e01..cec4bf3 100644 --- a/index.js +++ b/index.js @@ -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) {