mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2026-10-18 07:12:32 +00:00
Fix: exit code
This commit is contained in:
@@ -438,5 +438,5 @@ export async function main() {
|
|||||||
process.exit(1);
|
process.exit(1);
|
||||||
}
|
}
|
||||||
// To prevent unexpected hanging in webRTC connections.
|
// To prevent unexpected hanging in webRTC connections.
|
||||||
process.exit(0);
|
process.exit(process.exitCode ?? 0);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user