You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
--output-match crashes when a group did not take part in the match #684
fnode:internal/streams/writable:482
throw new ERR_INVALID_ARG_TYPE(
^
TypeError [ERR_INVALID_ARG_TYPE]: The "chunk" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received undefined
Expected
f
b
Cause
The replacer function in getFinalReplacement() in src/engine.ts (line 242) writes each group to stdout without checking if it is undefined:
Activity
mathiasrw commentedon Oct 21, 2026
Confirmed working since #739