From 087311f996f2e60b676b06117caa87f881981dcd Mon Sep 17 00:00:00 2001 From: khai96_ Date: Fri, 8 May 2020 21:55:03 +0700 Subject: [PATCH] refactor: Remove then --- src/index.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/index.ts b/src/index.ts index e7fab7d..dcfb9aa 100644 --- a/src/index.ts +++ b/src/index.ts @@ -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 => {