Skip to content

Commit

Permalink
Fix test project build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Jack251970 committed Jan 13, 2025
1 parent 2a423f0 commit ff110b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Flow.Launcher.Infrastructure/StringMatcher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ public class StringMatcher

private readonly IAlphabet _alphabet;

public StringMatcher()
public StringMatcher(IAlphabet alphabet = null)
{
_alphabet = Ioc.Default.GetRequiredService<IAlphabet>();
_alphabet = alphabet ?? Ioc.Default.GetRequiredService<IAlphabet>();
}

public static StringMatcher Instance { get; internal set; }
Expand Down

0 comments on commit ff110b3

Please sign in to comment.