Skip to content

Commit a79bd10

Browse files
committed
fix: correct type coverage command in get-type-coverage utility
Changed from non-existent 'pnpm run coverage:type' to 'pnpm exec type-coverage' to match the actual command used elsewhere in the codebase.
1 parent 94a8273 commit a79bd10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/utils/get-type-coverage.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { spawn } from '@socketsecurity/registry/lib/spawn'
77
* @throws {Error} When type coverage command fails.
88
*/
99
export async function getTypeCoverage() {
10-
const result = await spawn('pnpm', ['run', 'coverage:type'], {
10+
const result = await spawn('pnpm', ['exec', 'type-coverage'], {
1111
stdio: 'pipe',
1212
shell: constants.WIN32,
1313
})

0 commit comments

Comments
 (0)