Skip to content

Conversation

@Jaykul
Copy link

@Jaykul Jaykul commented Sep 14, 2022

Fix #134 two ways.

The -Value must be string, and coercion fails for an array with this syntax
@Jaykul
Copy link
Author

Jaykul commented Sep 14, 2022

Honestly, in Get-ProjectName I would rather add a test for the root folder being a single character (e.g. Azure's "s" folders) and go straight to reading the value from the git origin -- or at least move that higher, since it seems to me more likely to be right than this "look for random psd1 files" bit.

@Jaykul Jaykul changed the title Fix/azure pipelines variable Fix Azure pipelines variable Sep 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error in Azure Pipeline when Get-ProjectName returns multiple items

1 participant