Skip to content

Commit

Permalink
Use global variable instead of param
Browse files Browse the repository at this point in the history
  • Loading branch information
Marusyk authored Dec 16, 2023
1 parent 879f846 commit ab1c96a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Grok.Net/Grok.cs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public GrokResult Parse(string text)
{
if (_compiledRegex == null)
{
ValidateGrokPattern(_grokPattern);
ValidateGrokPattern();

Check failure on line 107 in src/Grok.Net/Grok.cs

View workflow job for this annotation

GitHub Actions / build-linux

There is no argument given that corresponds to the required parameter 'grokPattern' of 'Grok.ValidateGrokPattern(string)'

Check failure on line 107 in src/Grok.Net/Grok.cs

View workflow job for this annotation

GitHub Actions / build-linux

There is no argument given that corresponds to the required parameter 'grokPattern' of 'Grok.ValidateGrokPattern(string)'

Check failure on line 107 in src/Grok.Net/Grok.cs

View workflow job for this annotation

GitHub Actions / build-linux

There is no argument given that corresponds to the required parameter 'grokPattern' of 'Grok.ValidateGrokPattern(string)'

Check failure on line 107 in src/Grok.Net/Grok.cs

View workflow job for this annotation

GitHub Actions / build-linux

There is no argument given that corresponds to the required parameter 'grokPattern' of 'Grok.ValidateGrokPattern(string)'

Check failure on line 107 in src/Grok.Net/Grok.cs

View workflow job for this annotation

GitHub Actions / build-linux

There is no argument given that corresponds to the required parameter 'grokPattern' of 'Grok.ValidateGrokPattern(string)'

Check failure on line 107 in src/Grok.Net/Grok.cs

View workflow job for this annotation

GitHub Actions / build-linux

There is no argument given that corresponds to the required parameter 'grokPattern' of 'Grok.ValidateGrokPattern(string)'

Check failure on line 107 in src/Grok.Net/Grok.cs

View workflow job for this annotation

GitHub Actions / build-linux

There is no argument given that corresponds to the required parameter 'grokPattern' of 'Grok.ValidateGrokPattern(string)'

Check failure on line 107 in src/Grok.Net/Grok.cs

View workflow job for this annotation

GitHub Actions / build-linux

There is no argument given that corresponds to the required parameter 'grokPattern' of 'Grok.ValidateGrokPattern(string)'

Check failure on line 107 in src/Grok.Net/Grok.cs

View workflow job for this annotation

GitHub Actions / build-windows

There is no argument given that corresponds to the required parameter 'grokPattern' of 'Grok.ValidateGrokPattern(string)'

Check failure on line 107 in src/Grok.Net/Grok.cs

View workflow job for this annotation

GitHub Actions / build-windows

There is no argument given that corresponds to the required parameter 'grokPattern' of 'Grok.ValidateGrokPattern(string)'

Check failure on line 107 in src/Grok.Net/Grok.cs

View workflow job for this annotation

GitHub Actions / build-windows

There is no argument given that corresponds to the required parameter 'grokPattern' of 'Grok.ValidateGrokPattern(string)'

Check failure on line 107 in src/Grok.Net/Grok.cs

View workflow job for this annotation

GitHub Actions / build-windows

There is no argument given that corresponds to the required parameter 'grokPattern' of 'Grok.ValidateGrokPattern(string)'

Check failure on line 107 in src/Grok.Net/Grok.cs

View workflow job for this annotation

GitHub Actions / build-windows

There is no argument given that corresponds to the required parameter 'grokPattern' of 'Grok.ValidateGrokPattern(string)'

Check failure on line 107 in src/Grok.Net/Grok.cs

View workflow job for this annotation

GitHub Actions / build-windows

There is no argument given that corresponds to the required parameter 'grokPattern' of 'Grok.ValidateGrokPattern(string)'

Check failure on line 107 in src/Grok.Net/Grok.cs

View workflow job for this annotation

GitHub Actions / build-windows

There is no argument given that corresponds to the required parameter 'grokPattern' of 'Grok.ValidateGrokPattern(string)'

Check failure on line 107 in src/Grok.Net/Grok.cs

View workflow job for this annotation

GitHub Actions / build-windows

There is no argument given that corresponds to the required parameter 'grokPattern' of 'Grok.ValidateGrokPattern(string)'
ParsePattern();
}

Expand Down

0 comments on commit ab1c96a

Please sign in to comment.