obsidian-agile-task-notes icon indicating copy to clipboard operation
obsidian-agile-task-notes copied to clipboard

Incorrect BaseURL Formatting When Collection is Not Set AzureDevops

Open VincentSchmid opened this issue 1 year ago • 1 comments

Description

When a collection is not specified in the settings for Azure DevOps, the BaseURL is incorrectly formatted with an extra slash. This issue occurs in the construction of the BaseURL, leading to an invalid URL format.

Steps to Reproduce

  • Set Azure DevOps settings without specifying a collection.
  • Construct the BaseURL using the provided settings.
  • Observe the generated URL.

Expected Behavior

The BaseURL should be formatted correctly without an extra slash when the collection is not set. For example, if the project name is projectName, the expected URL should be:

https://dev.azure.com/projectName

Actual Behavior

The BaseURL is currently including an unnecessary slash when the collection is not set, resulting in a URL like:

https://dev.azure.com//projectName

VincentSchmid avatar Dec 11 '23 15:12 VincentSchmid