-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Correct grep output when asking for line numbers
A couple of issues here: - We didn't pass the line number to do_grep_line() so `i` was undefined - Operator precedence messed with the ternary so when line numbers were requested, the line wouldn't be output. Found thanks to this now-solved eslint issue: /puter/packages/phoenix/src/puter-shell/coreutils/grep.js 100:60 error 'i' is not defined no-undef
- Loading branch information
Showing
1 changed file
with
7 additions
and
8 deletions.
There are no files selected for viewing
This file contains 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