refactor(tsgolint): extract tsgolint process spawning into a separate function#16337
Conversation
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
CodSpeed Performance ReportMerging #16337 will not alter performanceComparing Summary
Footnotes
|
536f2c4 to
55825bb
Compare
55825bb to
433261e
Compare
Merge activity
|
There was a problem hiding this comment.
Pull request overview
This PR refactors the tsgolint process spawning logic by extracting duplicate code into a new private spawn_tsgolint method. The refactoring consolidates process spawning, command argument configuration, and stdin writing that were previously duplicated in the lint and lint_source methods.
- Extracted common tsgolint process spawning logic into a reusable
spawn_tsgolintmethod - Replaced two instances of duplicated spawning code with calls to the new method
- Simplified error handling by centralizing it in the extracted function
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.
433261e to
5f451b8
Compare
cb13664 to
5a40683
Compare
5a40683 to
3983056
Compare

No description provided.