mirror of
https://github.com/osukey/osukey.git
synced 2025-05-28 08:57:25 +09:00
Fix test failures
This commit is contained in:
parent
ddac511c8c
commit
00a2fbce06
@ -83,7 +83,7 @@ namespace osu.Game.IO
|
||||
{
|
||||
Storage userStorage = host.GetStorage(CustomStoragePath);
|
||||
|
||||
if (!userStorage.GetFiles(".").Any())
|
||||
if (!userStorage.ExistsDirectory(".") || !userStorage.GetFiles(".").Any())
|
||||
error = OsuStorageError.AccessibleButEmpty;
|
||||
|
||||
ChangeTargetStorage(userStorage);
|
||||
|
Loading…
x
Reference in New Issue
Block a user