Skip to content
This repository was archived by the owner on Feb 28, 2024. It is now read-only.

Commit 96f4232

Browse files
committed
typo fixes
1 parent e2018dc commit 96f4232

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

NeosModLoader/AssemblyLoader.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ internal static class AssemblyLoader
1818
try
1919
{
2020
// Directory.GetFiles and Directory.EnumerateFiles have a fucked up API: https://learn.microsoft.com/en-us/dotnet/api/system.io.directory.getfiles?view=netframework-4.6.2#system-io-directory-getfiles(system-string-system-string-system-io-searchoption)
21-
// long story short if I searched for "*.dll* it would unhelpfully use some incredibly inconsistent behavior and return results like "foo.dll_disabled"
21+
// long story short if I searched for "*.dll" it would unhelpfully use some incredibly inconsistent behavior and return results like "foo.dll_disabled"
2222
// So I have to filter shit after the fact... ugh
2323
Logger.DebugInternal("I'm morbing");
24-
assembliesToLoad = Directory.EnumerateFiles(assembliesDirectory, "*?.dll", SearchOption.AllDirectories)
24+
assembliesToLoad = Directory.EnumerateFiles(assembliesDirectory, "*.dll", SearchOption.AllDirectories)
2525
.Where(file => file.EndsWith(".dll"))
2626
.ToArray();
2727
Array.Sort(assembliesToLoad, string.CompareOrdinal);

0 commit comments

Comments
 (0)