Compare commits

...

2 Commits

Author SHA1 Message Date
Philipp Horstenkamp af0e213e80
Reworked stringify
Lint / pre-commit Linting (push) Successful in 52s Details
2023-11-26 21:59:11 +01:00
Philipp Horstenkamp 8eebf7bb27
Added an awit token 2023-11-26 21:58:22 +01:00
1 changed files with 2 additions and 2 deletions

View File

@ -119,7 +119,7 @@ async function postCode() {
core.info(JSON.stringify(response, null, 2));
} else {
core.info(`Logging into as user ${username}`);
const response = Promise.resolve()
const response = await Promise.resolve()
.then(() => api.auth(username, password, login_arguments))
.then(() => {
return api.code.set(branch, files_to_push);
@ -130,8 +130,8 @@ async function postCode() {
.catch((err) => {
console.error("Error:", err);
});
core.info("Authorized!");
core.info(JSON.stringify(response, null, 2));
core.info("Authorized!");
}
}