Skip to content
Permalink
Browse files
fix: pass a branch name to getGitAuthUrl
  • Loading branch information
pvdlg committed Feb 13, 2020
1 parent 8426b42 commit e7bede186649abb4dd19ed0e8c28c218523b8b19
Showing with 1 addition and 1 deletion.
  1. +1 −1 index.js
@@ -52,7 +52,7 @@ async function run(context, plugins) {
// Verify config
await verify(context);

options.repositoryUrl = await getGitAuthUrl(context);
options.repositoryUrl = await getGitAuthUrl({...context, branch: {name: ciBranch}});
context.branches = await getBranches(options.repositoryUrl, ciBranch, context);
context.branch = context.branches.find(({name}) => name === ciBranch);

0 comments on commit e7bede1

Please sign in to comment.