Removed not working logs.
Lint / pre-commit Linting (push) Successful in 25s
Details
Lint / pre-commit Linting (push) Successful in 25s
Details
This commit is contained in:
parent
1b1254c57a
commit
c0e41f1845
6
index.js
6
index.js
|
@ -124,16 +124,14 @@ async function postCode() {
|
|||
response = await Promise.resolve()
|
||||
.then(() => api.auth(username, password, login_arguments))
|
||||
.then(() => {
|
||||
return api.code.set(branch, files_to_push);
|
||||
api.code.set(branch, files_to_push);
|
||||
})
|
||||
.then((result) => {
|
||||
response = result;
|
||||
.then(() => {
|
||||
console.log(`Code set successfully to ${branch}`);
|
||||
})
|
||||
.catch((err) => {
|
||||
console.error("Error:", err);
|
||||
});
|
||||
core.info(JSON.stringify(response));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue