Closed
Description
openedon Oct 19, 2023
Environment
Node version: 18.14.2
Yarn version: 1.22.19
OS and version: Win 11
azure-devops-node-api version: 12.1.0
Issue Description
getCommitDiffs from gitApi ignores baseVersionDescriptor and targetVersionDescriptor payloads
gitClient.getCommitDiffs(this.repoId, this.project, true, 100, 0, { baseVersion: 'ADC_Wizard_15894, }, { targetVersion: 'main' })
Even after adding another properties (baseVersionType, baseVersionOptions, etc.), following URL gets generated:
Expected behaviour
The url should look like this
There should be differences between those branches
Actual behaviour
There are no differences found due to missing base and target branches
Steps to reproduce
- Initialize the handler with PAT and org url
- Provide payload to the getCommitDiffs method as above
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment