~A better fix would be to always do await getOwnersOfPackage(name, headId, fetchFile); since it knows when to look for package.json/index.d.ts, but we have old tests that don't have index.d.ts in their VFS since PRs that didn't modify that file never fetched it. So, we can just expand the special case.~ I just fixed the tests to do it right.
Noticed that https://github.com/DefinitelyTyped/DefinitelyTyped/pull/69589 was somehow missing the
edits owners
label. Turns out we special cased looking at PRs withoutindex.d.ts
changes.~A better fix would be to always do
await getOwnersOfPackage(name, headId, fetchFile);
since it knows when to look for package.json/index.d.ts, but we have old tests that don't haveindex.d.ts
in their VFS since PRs that didn't modify that file never fetched it. So, we can just expand the special case.~ I just fixed the tests to do it right.