sindresorhus/refined-github



Do you want to work on this issue?
You can request for a bounty in order to promote it!
`hide-markdown-diff`: throws on pre-fork edit pages #4194
fregante posted onGitHub
URL: https://github.com/MatthewL246/hello-world/edit/main/CONTRIBUTING.md
Refined GitHub → hide-markdown-diff → TypeError: undefined has no properties
init hide-markdown-diff.tsx:24
runFeature index.tsx:125
setupPageLoad index.tsx:147
add index.tsx:248
$e pjax.ts:98
Ne pjax.ts:311
execute navigation.ts:62
execute navigation.ts:17
Y index.js:96
Console error only, not a real issue. I'm not sure if we should start fixing these issues in more direct ways instead of through exclude
, which might not work with elementReady
features.
For example in this case, if the first expected item isn't found, let the error throw only if it's not isEmptyPage
. I wonder if this mechanism should be implemented via some sort of "deferred exclude" list of checks, or if exclude
should just be treated this way (likely troublesome)