Closed Kikobeats closed 5 years ago
We are considering the default branch is master
master
https://github.com/IBM/nicedoc.io/blob/434428d3ce651d916d3e58bbd5dd0b506e9e668b/core/github/normalize-params.js#L7
That's a thing not true. Also, GitHub provide an endpoint for getting the default branch: https://stackoverflow.com/a/16501903
We are considering the default branch is
master
https://github.com/IBM/nicedoc.io/blob/434428d3ce651d916d3e58bbd5dd0b506e9e668b/core/github/normalize-params.js#L7
That's a thing not true. Also, GitHub provide an endpoint for getting the default branch: https://stackoverflow.com/a/16501903