File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments