mirror of
https://code.forgejo.org/pnpm/action-setup.git
synced 2025-05-17 04:24:44 +00:00
refactor: Remove then
This commit is contained in:
parent
9979c3d928
commit
087311f996
1 changed files with 3 additions and 4 deletions
|
@ -5,10 +5,9 @@ import install from './install'
|
|||
|
||||
async function main() {
|
||||
const inputs = getInputs()
|
||||
await install(inputs).then(() => {
|
||||
console.log('Installation Completed!')
|
||||
setOutputs(inputs)
|
||||
})
|
||||
await install(inputs)
|
||||
console.log('Installation Completed!')
|
||||
setOutputs(inputs)
|
||||
}
|
||||
|
||||
main().catch(error => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue