mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-16 20:01:24 +00:00
v0.5.4 - Fix lockstep versioning and update all packages
This commit is contained in:
parent
3a9c3a2ed6
commit
f579a3f112
7 changed files with 23 additions and 17 deletions
|
|
@ -286,8 +286,10 @@ export async function main(args: string[]): Promise<void> {
|
|||
}
|
||||
|
||||
// Run as CLI if invoked directly
|
||||
// Run main function when executed directly
|
||||
main(process.argv.slice(2)).catch((err) => {
|
||||
console.error(err);
|
||||
process.exit(1);
|
||||
});
|
||||
// Only run if this is the main module (not imported)
|
||||
if (import.meta.url === `file://${process.argv[1]}`) {
|
||||
main(process.argv.slice(2)).catch((err) => {
|
||||
console.error(err);
|
||||
process.exit(1);
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue