Skip to content

Commit

Permalink
Fix for onlyutkarsh#17
Browse files Browse the repository at this point in the history
passing missed parameter of endpointurl
  • Loading branch information
SwethaJagadeesh authored Dec 30, 2019
1 parent 4ac9881 commit 0cd8b34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/DownloadRepo/DownloadRepoV1/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ async function main() {
}
else if (versionSelector === "latestSpecificBranch") {
tl.debug(`Finding commit for '${branch}' branch`);
commitId = await gitApi.getLatestCommitIdFromBranch(definition, token, branch);
commitId = await gitApi.getLatestCommitIdFromBranch(endpointUrl, definition, token, branch);
}
}
console.info(`Commit id: ${commitId}`);
Expand Down

0 comments on commit 0cd8b34

Please sign in to comment.