mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 16:59:53 +09:00
invert if-statement and early return + reuse of checkExists
This commit is contained in:
@ -157,7 +157,7 @@ namespace osu.Game.Tournament.IPC
|
||||
return IPCStorage;
|
||||
}
|
||||
|
||||
private static bool checkExists(string p) => File.Exists(Path.Combine(p, "ipc.txt"));
|
||||
public bool checkExists(string p) => File.Exists(Path.Combine(p, "ipc.txt"));
|
||||
|
||||
private string findStablePath()
|
||||
{
|
||||
|
Reference in New Issue
Block a user