From 7c75b9d0002790d8fb4c602e73424f8739c1212f Mon Sep 17 00:00:00 2001 From: Philipp Horstenkamp Date: Sun, 26 Nov 2023 21:50:25 +0100 Subject: [PATCH] Reworked a message. --- index.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/index.js b/index.js index dd49566..2502321 100644 --- a/index.js +++ b/index.js @@ -119,16 +119,13 @@ async function postCode() { core.info(JSON.stringify(response, null, 2)); } else { core.info(`Logging into as user ${username}`); - // await api.auth(username, password, login_arguments)); - // await api.auth(username, password, login_arguments)); const response = Promise.resolve() .then(() => api.auth(username, password, login_arguments)) .then(() => { return api.code.set(branch, files_to_push); }) .then(() => { - console.log("Code set successfully"); - // Additional actions after setting the code, if necessary + console.log(`Code set successfully to ${branch}`); }) .catch((err) => { console.error("Error:", err);