From 3e69a9b0fb11bbef877117467f5f120daabce3bc Mon Sep 17 00:00:00 2001 From: Philipp Horstenkamp Date: Sun, 26 Nov 2023 17:48:38 +0100 Subject: [PATCH] Reworked the logging a bit. --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index ca83565..0960365 100644 --- a/index.js +++ b/index.js @@ -116,8 +116,8 @@ async function postCode() { const api = new ScreepsAPI(login_arguments); const response = await api.code.set(branch, files_to_push); - core.info(response.status); - core.info(JSON.stringify(response.json(), null, 2)); + core.info(response); + core.info(JSON.stringify(response.json, null, 2)); } postCode();