Skip to content

Commit 768064b

Browse files
committed
refactor: code
1 parent cd15924 commit 768064b

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lib/Server.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -637,7 +637,6 @@ class Server {
637637
await fs.mkdir(certificateDir, { recursive: true }, (error) => {
638638
if (error) {
639639
this.logger.error(error);
640-
process.exit(2);
641640
}
642641
});
643642

@@ -650,7 +649,6 @@ class Server {
650649
(error) => {
651650
if (error) {
652651
this.logger.error(error);
653-
process.exit(2);
654652
}
655653
}
656654
);
@@ -2101,7 +2099,6 @@ class Server {
21012099
await fs.chmod(this.options.ipc, READ_WRITE, (error) => {
21022100
if (error) {
21032101
this.logger.error(error);
2104-
process.exit(2);
21052102
}
21062103
});
21072104
}

0 commit comments

Comments
 (0)