fix: Fixes missing ordinal string comparisons arguments. (#1431)
--------- Co-authored-by: Kamron Batman <3953314+kamronbatman@users.noreply.github.com>
This commit is contained in:
parent
8eb480bdf5
commit
d366e02251
6 changed files with 6 additions and 6 deletions
|
|
@ -84,7 +84,7 @@ public static class AssistantHandler
|
|||
|
||||
// Instead we are supporting razor community edition.
|
||||
var assistVersion = reader.ReadAscii();
|
||||
state.Assistant = assistVersion.Contains(' ') ? assistVersion : $"RazorCE {assistVersion}";
|
||||
state.Assistant = assistVersion.ContainsOrdinal(' ') ? assistVersion : $"RazorCE {assistVersion}";
|
||||
}
|
||||
|
||||
private static void HandshakeResponse(NetState state, CircularBufferReader reader, int packetLength)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue