richardszalay / helix-publishing-pipeline

Unified publishing for Sitecore Helix solutions that extends existing Visual Studio and command line workflows
MIT License
68 stars 18 forks source link

Fix error when no Web.config transforms are available #37

Closed richardszalay closed 5 years ago

richardszalay commented 5 years ago

Fixes an issue raised by PR #36 raised by @luuksommers. That PR fixed the symptom, but did so by disabling transforms when IncludeHelixWebConfigTransformInPackage was disabled.

This PR adds some additional checks and only performs the merged transform if there are valid helix transforms or if there is a standard transform and IncludeHelixWebConfigTransformInPackage is enabled.

luuksommers commented 5 years ago

Works like a charm! TY!