refactor: Remove then

This commit is contained in:
khai96_ 2020-05-08 21:55:03 +07:00
parent 9979c3d928
commit 087311f996

View File

@ -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 => {