philschatz / octokat.js

:octocat: Github API Client using Promises or callbacks. Intended for the browser or NodeJS.
http://philschatz.com/2014/05/25/octokat/
MIT License
421 stars 133 forks source link

False URL_VALIDATOR alert while using compare() between two commits #249

Open srikanth2042 opened 6 years ago

srikanth2042 commented 6 years ago

Hi, I am getting a false alert while comparing two commits of a repository which is in my organisation github using repo.compare() as follows: Octokat BUG: Invalid Path. If this is actually a valid path then please update the URL_VALIDATOR. path=https://github.myorg.com/api/v3/repos/myowner/myrepo/compare/my40characterfirstsha...my40charactersecondsha Kindly fix it.