From 19eaad21ff493dc8fc385fb2c93a0dd4815807e5 Mon Sep 17 00:00:00 2001 From: Philipp Horstenkamp Date: Sun, 26 Nov 2023 17:45:50 +0100 Subject: [PATCH] Added logging for the response. --- index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 142b0ff..ca83565 100644 --- a/index.js +++ b/index.js @@ -115,7 +115,9 @@ async function postCode() { core.info(JSON.stringify(login_arguments, null, 2)); const api = new ScreepsAPI(login_arguments); - await api.code.set(branch, files_to_push); + const response = await api.code.set(branch, files_to_push); + core.info(response.status); + core.info(JSON.stringify(response.json(), null, 2)); } postCode();