MAINT: Apply pre-commit

Remove byte-order-marker pre-commit check as there would be
many adjustments necessary
This commit is contained in:
Martin Thoma
2022-03-05 09:29:23 +01:00
parent f5e33ae38f
commit e64fb6795c
536 changed files with 6267 additions and 5556 deletions

View File

@@ -80,7 +80,7 @@ namespace Synonym
{
// Randomly display one of the five correct answer exclamations
Console.WriteLine(GetAnAffirmation());
return true;
}
else
@@ -109,7 +109,7 @@ namespace Synonym
foreach (string[] WordList in Words)
{
int WordIndex = rand.Next(WordList.Length); // random word position in the current list of words
string WordName = WordList[WordIndex]; // what is that actual word
string WordName = WordList[WordIndex]; // what is that actual word
bool Success = false;
while (!Success)
@@ -117,7 +117,7 @@ namespace Synonym
// Ask for the synonym of the current word
string LineInput = PromptForSynonym(WordName);
// Check the response
// Check the response
Success = CheckTheResponse(WordName, WordIndex, LineInput, WordList);
// Add extra line space for formatting
@@ -146,4 +146,4 @@ namespace Synonym
}
}
}
}