Added logging for the response.
Lint / pre-commit Linting (push) Failing after 48s Details

This commit is contained in:
Philipp Horstenkamp 2023-11-26 17:45:50 +01:00
parent f8ce3ef53a
commit 19eaad21ff
Signed by: Philipp
GPG Key ID: DD53EAC36AFB61B4
1 changed files with 3 additions and 1 deletions

View File

@ -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();