fix(cli): restore openchamber startup under npm/bun global shims

This commit is contained in:
Bohdan Triapitsyn
2026-03-13 11:33:23 +02:00
parent 875491c438
commit d160263f4f
3 changed files with 29 additions and 3 deletions
+1 -1
View File
@@ -4616,7 +4616,7 @@ async function main() {
await commands[command](options);
}
const isCliExecution = isModuleCliExecution();
const isCliExecution = isModuleCliExecution(process.argv[1], import.meta.url, fs.realpathSync, 'openchamber');
if (isCliExecution) {
let isHandlingSigint = false;