Skip to content

Commit 85cde7a

Browse files
committed
Fix cli path
1 parent 66887f4 commit 85cde7a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/rtk-query-codegen-openapi/test/cli.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { rimraf } from 'rimraf';
66

77
const exec = promisify(_exec);
88

9-
const cliPath = process.env.CI ? 'rtk-query-codegen-openapi' : `yarn cli`;
9+
const cliPath = process.env.TEST_DIST ? 'rtk-query-codegen-openapi' : `yarn cli`;
1010

1111
const cli = async (args: string[]) => {
1212
return await exec(`${cliPath} ${args.join(' ')}`);

packages/rtk-query-codegen-openapi/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"noUnusedLocals": false,
1919
"outDir": "lib",
2020
"paths": {
21-
"@rtk-query/codegen-openapi": ["./src"] // @remap-prod-remove-line
21+
"@rtk-query/codegen-openapi": ["./src/index.ts"] // @remap-prod-remove-line
2222
},
2323
"resolveJsonModule": true,
2424
"skipLibCheck": true,

0 commit comments

Comments
 (0)