sindresorhus/refined-github

`tags-on-commits-list`: Cannot read property 'committedDate' of null #4468

yakov116 posted onGitHub

URL: https://github.com/pixiebrix/pixiebrix-extension/commits/main

TypeError: Cannot read property 'committedDate' of null
  at getTags (chrome-extension://pplhppbihehddgkdedhpbfpbbbefeihl/build/refined-github.js:15040:55)
  at async init (chrome-extension://pplhppbihehddgkdedhpbfpbbbefeihl/build/refined-github.js:15056:34)
  at async runFeature (chrome-extension://pplhppbihehddgkdedhpbfpbbbefeihl/build/refined-github.js:8934:11)
  at async setupPageLoad (chrome-extension://pplhppbihehddgkdedhpbfpbbbefeihl/build/refined-github.js:8952:5)
TypeError: Cannot read property 'parents' of null
  at filterMergeCommits (chrome-extension://pplhppbihehddgkdedhpbfpbbbefeihl/build/refined-github.js:10176:16)
  at async init (chrome-extension://pplhppbihehddgkdedhpbfpbbbefeihl/build/refined-github.js:10187:24)
  at async runFeature (chrome-extension://pplhppbihehddgkdedhpbfpbbbefeihl/build/refined-github.js:8934:11)
  at async setupPageLoad (chrome-extension://pplhppbihehddgkdedhpbfpbbbefeihl/build/refined-github.js:8952:5)

It catches the PR url, instead of the hash

https://github.com/sindresorhus/refined-github/blob/bcc113e677b4f0d91471a97cb3a8aefae9cb95c7/source/features/mark-merge-commits-in-list.tsx#L36-L38

Needs to exclude issue links


Fund this Issue

$0.00
Funded

Pull requests