This library works only with Github with the current implementation, as it uses URLs like this:
https://circleci.com/api/v1.1/project/:username/:project/tree/:branch
Following the documentation, the VCS can be specified by using URLs like:
https://circleci.com/api/v1.1/project/:vcs-type/:username/:project/tree/:branch
Not providing the vcs-type path parameter makes CircleCI consider github as VCS.
A way to fix this would be to add the vcs-type config value and using it in the functions where it is needed.
/cc @jpstevens
This library works only with Github with the current implementation, as it uses URLs like this:
https://circleci.com/api/v1.1/project/:username/:project/tree/:branchFollowing the documentation, the VCS can be specified by using URLs like:
https://circleci.com/api/v1.1/project/:vcs-type/:username/:project/tree/:branchNot providing the
vcs-typepath parameter makes CircleCI considergithubas VCS.A way to fix this would be to add the
vcs-typeconfig value and using it in the functions where it is needed./cc @jpstevens