Repository navigation
[eslint-refiner] ESLint Refiner: require-getexecoutput-exitcode-check (2026-12-06) #85021
Closed
Replies: 1 comment
|
This discussion has been marked as outdated by ESLint Refiner. A newer discussion is available at Discussion #85024. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Overview
Reviewed
require-getexecoutput-exitcode-check(source and tests) againstactions/setup/jscall sites. The rule is mature (many earlier issues are closed). Three remaining gaps were found and filed as issues.Key metrics
Findings
...(cwd ? { cwd } : {})) resolve to unresolved, so live sites ingit_auth_helpers.cjsandgit_helpers.cjsare never checked.result.exitCode; later destructuring or helper forwarding is reported.exitCode, or any read of anexec()result (evenconsole.log), satisfies the rule.Strategy and grounding
Static review of the rule and test, plus grep over non-test
.cjsfiles forgetExecOutputandignoreReturnCode. Prior closed issues (variable-reference options, exec.exec scope, destructuring assignment, return escape) were checked to avoid duplicates. Rule behaviour was not executed becauseeslint-factory/node_moduleswas not available.Next actions
All reactions