Skip to content

Commit

Permalink
style: remove semicolons
Browse files Browse the repository at this point in the history
  • Loading branch information
SunsetTechuila authored Jun 13, 2024
1 parent de2f007 commit bda5cd0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -237,10 +237,10 @@ export async function build(_options: Options) {
})
worker.on('message', (data) => {
if (data === 'error') {
worker.terminate();
worker.terminate()
reject(new Error('error occured in dts build'))
} else if (data === 'success') {
worker.terminate();
worker.terminate()
resolve()
} else {
const { type, text } = data
Expand Down

0 comments on commit bda5cd0

Please sign in to comment.