mirror of
https://github.com/pnpm/action-setup.git
synced 2024-11-13 02:59:11 +08:00
refactor: Remove then
This commit is contained in:
parent
9979c3d928
commit
087311f996
@ -5,10 +5,9 @@ import install from './install'
|
|||||||
|
|
||||||
async function main() {
|
async function main() {
|
||||||
const inputs = getInputs()
|
const inputs = getInputs()
|
||||||
await install(inputs).then(() => {
|
await install(inputs)
|
||||||
console.log('Installation Completed!')
|
console.log('Installation Completed!')
|
||||||
setOutputs(inputs)
|
setOutputs(inputs)
|
||||||
})
|
|
||||||
}
|
}
|
||||||
|
|
||||||
main().catch(error => {
|
main().catch(error => {
|
||||||
|
Loading…
Reference in New Issue
Block a user