Skip to content

Commit

Permalink
fix: support name of branch with '#' (#149)
Browse files Browse the repository at this point in the history
  • Loading branch information
wahapo authored Jan 31, 2020
1 parent 61c7383 commit 2e0d886
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -689,7 +689,7 @@ class GithubScm extends Scm {
action: 'getBranch',
token: config.token,
params: {
branch: scmInfo.branch,
branch: scmInfo.branch.replace(/#/g, '%23'),
owner: scmInfo.owner,
repo: scmInfo.repo
}
Expand Down

0 comments on commit 2e0d886

Please sign in to comment.