Skip to content

Commit

Permalink
Remove finally block, which wouldn’t be executed anyway because of pr…
Browse files Browse the repository at this point in the history
…ocess.exit(1)
  • Loading branch information
leafac committed Jan 14, 2021
1 parent 2116439 commit 6f2f9fd
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,6 @@ program
: JSON.stringify(error, undefined, 2)
);
process.exit(1);
} finally {
if (obs !== undefined) await obs.disconnect();
}
})
.version(version)
Expand Down

0 comments on commit 6f2f9fd

Please sign in to comment.