aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Core/Librarian.cs
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2017-12-27 22:58:19 -0800
committerRob Mensching <rob@firegiant.com>2017-12-27 22:58:19 -0800
commit58b8be53fd966e3d475362912477a422f5b5aa11 (patch)
treed6bb3edd0d4e7344777de802b32151f35987884a /src/WixToolset.Core/Librarian.cs
parentfe7112d862cab6ba28ee40e5539de8e297e0bbf2 (diff)
downloadwix-58b8be53fd966e3d475362912477a422f5b5aa11.tar.gz
wix-58b8be53fd966e3d475362912477a422f5b5aa11.tar.bz2
wix-58b8be53fd966e3d475362912477a422f5b5aa11.zip
Correctly join command line arguments and other small clean up and optimizations
Diffstat (limited to 'src/WixToolset.Core/Librarian.cs')
-rw-r--r--src/WixToolset.Core/Librarian.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/WixToolset.Core/Librarian.cs b/src/WixToolset.Core/Librarian.cs
index 3e843070..f4191e86 100644
--- a/src/WixToolset.Core/Librarian.cs
+++ b/src/WixToolset.Core/Librarian.cs
@@ -143,7 +143,7 @@ namespace WixToolset.Core
143 143
144 foreach (var tuple in sections.SelectMany(s => s.Tuples)) 144 foreach (var tuple in sections.SelectMany(s => s.Tuples))
145 { 145 {
146 foreach (var field in tuple.Fields.Where(f => f.Type == IntermediateFieldType.Path)) 146 foreach (var field in tuple.Fields.Where(f => f?.Type == IntermediateFieldType.Path))
147 { 147 {
148 var pathField = field.AsPath(); 148 var pathField = field.AsPath();
149 149