Open rick-weyrauch-lol opened 3 years ago
On a side note - I also do not understand why having no files that match the pattern needs to be a fatal error - if I forget to deploy any matching files, then there is simply nothing for that section to do. The code could output a Warning I guess, but there should be nothing wrong with an empty file list. One could easily have conditional deployment steps that under unique circumstance renders no files... but then the tool would blow up the run.
I am not sure how "IncludeDataSource: false" is able to work for anyone. I am not a PowerShell expert, but when I look at this if:
if($IncludeDataSource -eq $true)
... it's not right since $IncludeDataSource is a string in the PS:
[string]$IncludeDataSource,
... and so both 'false' and 'true' -eq to $true, and causes the run to display this error (which actually makes sense based on the Write-Error code inside the if):
I need to be able to run without deploying Data Sources - any chance that can get fixed? Is this tool still being maintained?