Skip to content

Commit 4a054c5

Browse files
committed
Fix formatting
1 parent 9eeabd3 commit 4a054c5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Rubjerg.Graphviz/GraphvizCommand.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ internal static string Rid
4343
Path.GetDirectoryName(AppContext.BaseDirectory),
4444
""
4545
];
46-
return possibleLocations.Where(d => d != null).Select(dir => Path.Combine(dir, "dot")).FirstOrDefault(File.Exists)
47-
?? possibleLocations.Where(d => d != null).Select(dir => Path.Combine(dir, "dot.exe")).FirstOrDefault(File.Exists)
48-
?? throw new InvalidOperationException("Could not find path to dot binary in any of: " + string.Join(", ", possibleLocations));
46+
return possibleLocations.Where(d => d != null).Select(dir => Path.Combine(dir, "dot")).FirstOrDefault(File.Exists)
47+
?? possibleLocations.Where(d => d != null).Select(dir => Path.Combine(dir, "dot.exe")).FirstOrDefault(File.Exists)
48+
?? throw new InvalidOperationException("Could not find path to dot binary in any of: " + string.Join(", ", possibleLocations));
4949
});
5050
internal static string DotExePath => _DotExePath.Value;
5151

0 commit comments

Comments
 (0)