Reworked the response.
Some checks failed
Lint / pre-commit Linting (push) Failing after 23s

This commit is contained in:
Philipp Horstenkamp 2023-11-26 17:51:09 +01:00
parent 3e69a9b0fb
commit 14f4b3876f
Signed by: Philipp
GPG Key ID: DD53EAC36AFB61B4

View File

@ -116,7 +116,7 @@ async function postCode() {
const api = new ScreepsAPI(login_arguments); const api = new ScreepsAPI(login_arguments);
const response = await api.code.set(branch, files_to_push); const response = await api.code.set(branch, files_to_push);
core.info(response); core.info(JSON.stringify(response, null, 2));
core.info(JSON.stringify(response.json, null, 2)); core.info(JSON.stringify(response.json, null, 2));
} }