Skip to content

Commit 3995d6d

Browse files
committed
update
1 parent a38a06c commit 3995d6d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/cli/test/utils.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,6 @@ export function createProject(zmodel: string, addPrelude = true) {
1818
}
1919

2020
export function runCli(command: string, cwd: string) {
21-
execSync(`node ${__dirname}/../bin/cli ${command}`, { cwd });
21+
const cli = path.join(__dirname, '../dist/index.js');
22+
execSync(`node ${cli} ${command}`, { cwd });
2223
}

0 commit comments

Comments
 (0)