Don't crash on empty (but valid) source paths.
Bob Arnson committed
Oct 24, 2019 at 16:59 UTC
87580cbe111a8df836231a0192dee674cf482f08
1 file changed
+1
-1
src/WixToolset.Core/Librarian.cs
+1
-1
@@ -95,7 +95,7 @@ namespace WixToolset.Core
95
{
96
var pathField = field.AsPath();
97
98
- if (pathField != null)
98
+ if (pathField != null && !String.IsNullOrEmpty(pathField.Path))
99
{
100
var resolution = variableResolver.ResolveVariables(tuple.SourceLineNumbers, pathField.Path, false);
101