Skip to content

Commit 7597200

Browse files
committed
Update OsSettingsResolver.cs
1 parent e6bed1d commit 7597200

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

src/DiffEngine/OsSettingsResolver.cs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,7 @@ static bool TryResolveForOs(
8686
}
8787
}
8888

89-
if (TryFindExe(os.ExeName, os.SearchDirectories, out path))
90-
{
91-
return true;
92-
}
93-
94-
return false;
89+
return TryFindExe(os.ExeName, os.SearchDirectories, out path);
9590
}
9691

9792
public static IEnumerable<string> ExpandProgramFiles(IEnumerable<string> paths)

0 commit comments

Comments
 (0)