Line 594 of src/drivers/ios/index.ts writes the download-lock key as args.join("<NUL>") with a literal NUL byte in the string literal instead of the \0 escape.
Because of that one byte, search tools classify the whole file as binary:
$ rg -n "advisor" src/drivers/ios/index.ts
binary file matches (found "\0" byte around offset 27650)
$ grep -n "advisories" src/drivers/ios/index.ts
(no output)
The whole 2011-line iOS driver is invisible to a normal grep/rg search. Writing "\0" as an escape fixes it with no behaviour change.
Found while triaging #79.
Written by an agent.
Line 594 of
src/drivers/ios/index.tswrites the download-lock key asargs.join("<NUL>")with a literal NUL byte in the string literal instead of the\0escape.Because of that one byte, search tools classify the whole file as binary:
The whole 2011-line iOS driver is invisible to a normal
grep/rgsearch. Writing"\0"as an escape fixes it with no behaviour change.Found while triaging #79.
Written by an agent.