Reworked the username.
All checks were successful
Lint / pre-commit Linting (push) Successful in 53s
All checks were successful
Lint / pre-commit Linting (push) Successful in 53s
This commit is contained in:
parent
bc56766110
commit
9be17fd1a0
3
index.js
3
index.js
@ -119,7 +119,8 @@ async function postCode() {
|
||||
api = new ScreepsAPI(login_arguments);
|
||||
} else {
|
||||
core.info(`Logging into as usewr ${username}`);
|
||||
api = new ScreepsAPI(username, password, login_arguments);
|
||||
api = new ScreepsAPI();
|
||||
api.auth(username, password, login_arguments);
|
||||
}
|
||||
const response = await api.code.set(branch, files_to_push);
|
||||
core.info(JSON.stringify(response, null, 2));
|
||||
|
Loading…
x
Reference in New Issue
Block a user