Skip to content

Incorrect BaseURL Formatting When Collection is Not Set AzureDevops #30

@VincentSchmid

Description

@VincentSchmid

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions