[BUG]: Undefined slash-parameters likely expanded incorrectly #395
Labels
hacktoberfest
Issues for participation in Hacktoberfest
released
Status: Up for grabs
Issues that are ready to be worked on by anyone
Type: Bug
Something isn't working as documented
What happened?
Note the slash at the end of
url
. GitHub returns 404 for.../branches/
, but lists branches for.../branches
.Expanding the same URL with
url-template
and empty context returns.../branches
. This makes me belive thatendpoint.js
performs template expansion incorrectly.Versions
Octokit.js v7.0.4, Node v19.4.0
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: