From c0e41f1845ff40dc4b4dd2a6066127c821df04e4 Mon Sep 17 00:00:00 2001 From: Philipp Horstenkamp Date: Sun, 26 Nov 2023 22:22:54 +0100 Subject: [PATCH] Removed not working logs. --- index.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/index.js b/index.js index 52937ca..164cc3b 100644 --- a/index.js +++ b/index.js @@ -124,16 +124,14 @@ async function postCode() { response = await Promise.resolve() .then(() => api.auth(username, password, login_arguments)) .then(() => { - return api.code.set(branch, files_to_push); + api.code.set(branch, files_to_push); }) - .then((result) => { - response = result; + .then(() => { console.log(`Code set successfully to ${branch}`); }) .catch((err) => { console.error("Error:", err); }); - core.info(JSON.stringify(response)); } }