Currently coverage when viewing a file is broken. It seems that GitHub started returning HTML here by default - or perhaps something else caused this to happen - regardless, explicitly requesting application/json content type fixes the issue.
Additionally, add regex matchers for detecting file/pr page on GitHub instead of try catch approach
Currently coverage when viewing a file is broken. It seems that GitHub started returning HTML here by default - or perhaps something else caused this to happen - regardless, explicitly requesting
application/json
content type fixes the issue.Additionally, add regex matchers for detecting file/pr page on GitHub instead of try catch approach