Skip to content

Commit

Permalink
style: remove semicolons
Browse files Browse the repository at this point in the history
  • Loading branch information
SunsetTechuila committed Jul 19, 2024
1 parent d4cba15 commit dc35149
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 @@ -244,10 +244,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 dc35149

Please sign in to comment.