Added te action.yaml
Some checks failed
Lint / pre-commit Linting (push) Failing after 22s

This commit is contained in:
2023-11-26 16:41:53 +01:00
parent 11c30e71ca
commit ae8a515ded
2 changed files with 42 additions and 2 deletions

View File

@@ -96,14 +96,12 @@ async function postCode() {
"path": path,
};
// TODO: Refactor error handling for cleaner code
const errorMessage = validateAuthentication(token, username, password);
if (errorMessage) {
core.error(errorMessage);
return;
}
// TODO: Consider moving log statement after error checks
core.log(JSON.stringify(login_arguments, null, 2));
const api = new ScreepsAPI(login_arguments);