Reworked everything a bit.
Lint / pre-commit Linting (push) Successful in 24s Details

This commit is contained in:
Philipp Horstenkamp 2023-11-26 20:10:35 +01:00
parent 9be17fd1a0
commit 7f5df4a59e
Signed by: Philipp
GPG Key ID: DD53EAC36AFB61B4
1 changed files with 2 additions and 2 deletions

View File

@ -119,8 +119,8 @@ async function postCode() {
api = new ScreepsAPI(login_arguments);
} else {
core.info(`Logging into as usewr ${username}`);
api = new ScreepsAPI();
api.auth(username, password, login_arguments);
api = new ScreepsAPI(login_arguments);
api.auth(username, password);
}
const response = await api.code.set(branch, files_to_push);
core.info(JSON.stringify(response, null, 2));