fix(#302): remove shell syntax from run() calls in 4 more tools#304
Open
TerminalGravity wants to merge 1 commit intomainfrom
Open
fix(#302): remove shell syntax from run() calls in 4 more tools#304TerminalGravity wants to merge 1 commit intomainfrom
TerminalGravity wants to merge 1 commit intomainfrom
Conversation
Replace shell syntax (pipes, redirects, 2>/dev/null) passed to run() with proper array args and Node.js equivalents: - token-audit: use Node fs for line/byte counting and tail reads - enrich-agent-task: filter git ls-files output in JS instead of grep/head pipes - clarify-intent: use execFileSync for tsc, Node fs for finding test files - audit-workspace: use array args for git diff, Node fs for counting test files scan-sessions.ts was already clean (uses fs directly, not run()). Closes the remaining files from #302.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes the remaining files from #302.
Replaces shell syntax (pipes, redirects,
2>/dev/null) passed torun()with proper array args and Node.js equivalents in:git ls-filesoutput in JS instead of grep/head pipesexecFileSyncfor tsc, Node fs for finding test filesscan-sessions.tswas already clean (uses fs directly, notrun()).Together with #301 and #303, this completes the fix for #302.
tsc --noEmitclean