Skip to content

Commit

Permalink
Refactor DetermineScore method to be static
Browse files Browse the repository at this point in the history
  • Loading branch information
Shresht7 committed Feb 4, 2024
1 parent da3f71e commit d863445
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Predictor/PSFavoritePredictor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public SuggestionPackage GetSuggestion(PredictionClient client, PredictionContex
/// <param name="input">The input string</param>
/// <param name="line">The line from the favorite's file</param>
/// <returns>The score indicating how well the input matches the favorite's line</returns>
private int DetermineScore(string input, string line)
private static int DetermineScore(string input, string line)
{
int score = 0;

Expand Down

0 comments on commit d863445

Please sign in to comment.