diff --git a/index.js b/index.js index e60b4cd..52937ca 100644 --- a/index.js +++ b/index.js @@ -124,7 +124,7 @@ async function postCode() { response = await Promise.resolve() .then(() => api.auth(username, password, login_arguments)) .then(() => { - api.code.set(branch, files_to_push); + return api.code.set(branch, files_to_push); }) .then((result) => { response = result;