feat(plugin-typescript): add plugin logic #2118
Annotations
1 error
|
Code PushUp
Error: Executing 1 plugin failed.
Error: - Plugin Code coverage (coverage) produced the following error:
- node:internal/fs/promises:638
return new FileHandle(await PromisePrototypeThen(
^
Error: ENOENT: no such file or directory, open 'coverage/plugin-typescript/unit-tests/lcov.info'
at async open (node:internal/fs/promises:638:25)
at async readFile (node:internal/fs/promises:1238:14)
at async readTextFile (/home/runner/work/cli/cli/packages/utils/src/lib/file-system.ts:10:18)
at async <anonymous> (/home/runner/work/cli/cli/packages/plugin-coverage/src/lib/runner/lcov/lcov-runner.ts:63:33)
at async Promise.all (index 2)
at async parseLcovFiles (/home/runner/work/cli/cli/packages/plugin-coverage/src/lib/runner/lcov/lcov-runner.ts:59:5)
at async lcovResultsToAuditOutputs (/home/runner/work/cli/cli/packages/plugin-coverage/src/lib/runner/lcov/lcov-runner.ts:28:23)
at async executeRunner (/home/runner/work/cli/cli/packages/plugin-coverage/src/lib/runner/index.ts:55:24)
at async <anonymous> (/home/runner/work/cli/cli/packages/plugin-coverage/src/bin.ts:7:1) {
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: 'coverage/plugin-typescript/unit-tests/lcov.info'
}
Node.js v22.10.0
at executePlugins (/home/runner/work/cli/cli/packages/core/src/lib/implementation/execute-plugin.ts:175:11)
at async collect (/home/runner/work/cli/cli/packages/core/src/lib/implementation/collect.ts:19:25)
at async collectAndPersistReports (/home/runner/work/cli/cli/packages/core/src/lib/collect-and-persist.ts:29:18)
at async handler (/home/runner/work/cli/cli/packages/cli/src/lib/autorun/autorun-command.ts:41:7)
at async Object.handler (/home/runner/work/cli/cli/packages/cli/src/lib/implementation/global.utils.ts:36:14)
Error: Executing 1 plugin failed.
Error: - Plugin Code coverage (coverage) produced the following error:
- node:internal/fs/promises:638
return new FileHandle(await PromisePrototypeThen(
^
Error: ENOENT: no such file or directory, open 'coverage/plugin-typescript/unit-tests/lcov.info'
at async open (node:internal/fs/promises:638:25)
at async readFile (node:internal/fs/promises:1238:14)
at async readTextFile (/home/runner/work/cli/cli/packages/utils/src/lib/file-system.ts:10:18)
at async <anonymous> (/home/runner/work/cli/cli/packages/plugin-coverage/src/lib/runner/lcov/lcov-runner.ts:63:33)
at async Promise.all (index 2)
at async parseLcovFiles (/home/runner/work/cli/cli/packages/plugin-coverage/src/lib/runner/lcov/lcov-runner.ts:59:5)
at async lcovResultsToAuditOutputs (/home/runner/work/cli/cli/packages/plugin-coverage/src/lib/runner/lcov/lcov-runner.ts:28:23)
at async executeRunner (/home/runner/work/cli/cli/packages/plugin-coverage/src/lib/runner/index.ts:55:24)
at async <anonymous> (/home/runner/work/cli/cli/packages/plugin-coverage/src/bin.ts:7:1) {
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: 'coverage/plugin-typescript/unit-tests/lcov.info'
}
Node.js v22.10.0
at executePlugins (/home/runner/work/cli/cli/packages/core/src/lib/implementation/execute-plugin.ts:175:11)
at async collect (/home/runner/work/cli/cli/packages/core/src/lib/implementation/collect.ts:19:25)
at async collectAndPersistReports (/home/runner/work/cli/cli/packages/core/src/lib/collect-and-persist.ts:29:18)
at async handler (/home/runner/work/cli/cli/packages/cli/src/lib/autorun/autorun-command.ts:41:7)
|