Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix legacy beatmap importer not always handling nested paths correctly #24998

Merged
merged 1 commit into from
Oct 3, 2023

Conversation

peppy
Copy link
Member

@peppy peppy commented Oct 3, 2023

Addresses #24989.

@bdach bdach self-requested a review October 3, 2023 07:20
Copy link
Collaborator

@bdach bdach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems ok in testing

@@ -34,9 +33,9 @@ protected override IEnumerable<string> GetStableImportPaths(Storage storage)

try
{
if (!directoryStorage.GetFiles(string.Empty).ExcludeSystemFileNames().Any())
if (!directoryStorage.GetFiles(string.Empty, "*.osu").Any())
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess the reason for removal of .ExcludeSystemFileNames() is that the wildcard pattern excludes them already...?

@bdach bdach merged commit 5338ba9 into ppy:master Oct 3, 2023
@peppy peppy deleted the better-nested-path-beatmap-import branch October 3, 2023 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants