Skip to content

Commit 6f2f9fd

Browse files
committed
Remove finally block, which wouldn’t be executed anyway because of process.exit(1)
1 parent 2116439 commit 6f2f9fd

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,6 @@ program
6565
: JSON.stringify(error, undefined, 2)
6666
);
6767
process.exit(1);
68-
} finally {
69-
if (obs !== undefined) await obs.disconnect();
7068
}
7169
})
7270
.version(version)

0 commit comments

Comments
 (0)