neilpeterson / azure-blueprints-pipeline-tasks

MIT License
17 stars 16 forks source link

[error]A positional parameter cannot be found that accepts argument #33

Closed Astashin closed 4 years ago

Astashin commented 5 years ago

If a project contains space, createBlueprint.ps1 fails with subj error. The possible reason: lack of single quotes ' for $BlueprintName parameter to handle spaces in paths:

Invoke-Expression "Import-AzBlueprintWithArtifact -Name $BlueprintName -InputPath $BlueprintPath $BlueprintScope -Force"

neilpeterson commented 4 years ago

@Jagstangushka thanks for entering this issue. I am looking into it now.

neilpeterson commented 4 years ago

Fix is in version 1.5.5.

https://github.com/neilpeterson/azure-blueprints-pipeline-tasks/pull/47

Thanks again for raising the issue.