Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .changeset/late-seals-travel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
"@spencer-kit/coder-studio": patch
---

Refactor the CLI entry structure so the executable wrapper only launches the command entrypoint, while the reusable CLI logic lives in a separate module. This fixes cases where globally installed `coder-studio` commands could fail to print output because the entry module was misdetected.
2 changes: 1 addition & 1 deletion packages/cli/src/bin.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ vi.mock("./browser.js", () => ({
openBrowser,
}));

import { main } from "./bin";
import { main } from "./cli";
import { parseArgs, RUNTIME_CONFIG_ERROR } from "./parse-args";

beforeEach(() => {
Expand Down
Loading
Loading