From 13a4c02f455d571727dcc738013124c273900274 Mon Sep 17 00:00:00 2001 From: Philipp Horstenkamp Date: Sun, 26 Nov 2023 18:25:42 +0100 Subject: [PATCH] Reworked the logging a bit. --- index.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/index.js b/index.js index 99314ca..47e3c13 100644 --- a/index.js +++ b/index.js @@ -107,6 +107,7 @@ async function postCode() { "path": path, }; + core.info(`Trying to upload the following files to ${branch}:`) Object.keys(login_arguments).forEach(key => { core.info(`Key: ${key}`); }); @@ -117,13 +118,9 @@ async function postCode() { return; } - core.info(JSON.stringify(login_arguments, null, 2)); - const api = new ScreepsAPI(login_arguments); - core.info(`Pushing to branch ${branch}`) const response = await api.code.set(branch, files_to_push); core.info(JSON.stringify(response, null, 2)); - core.info(JSON.stringify(response.json, null, 2)); } postCode();