Skip to content

Commit 492ae85

Browse files
committed
fix(cli): update getBinCliPath to use dist/index.js instead of bin/cli.js
The build system now outputs to dist/index.js instead of bin/cli.js. Updated the path constant to match the actual build output location, fixing 297 failing unit tests related to dry-run functionality.
1 parent 5c41d6f commit 492ae85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/cli/src/constants/paths.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ export function getBinCliPath(): string {
9595
if (binPath) {
9696
return binPath
9797
}
98-
return path.join(rootPath, 'bin/cli.js')
98+
return path.join(rootPath, 'dist/index.js')
9999
}
100100

101101
export function getDistPath(): string {

0 commit comments

Comments
 (0)