style: Add typos pre-commit hook (#2041)

This commit is contained in:
Ayaz Salikhov
2025-04-29 09:59:11 +01:00
committed by GitHub
parent de43be887e
commit af0a8af287
95 changed files with 207 additions and 180 deletions

View File

@@ -247,7 +247,7 @@ func prepareResume(cmd *string) {
/*
Previous user command (must match the same command to resume deletion)
Table name (ie. objects, ledger_hashes etc)
Values of token_ranges (each pair of values seperated line by line)
Values of token_ranges (each pair of values separated line by line)
*/
file, err := os.Open("continue.txt")
@@ -276,7 +276,7 @@ func prepareResume(cmd *string) {
}
scanner.Scan()
// skip the neccessary tables based on where the program aborted
// skip the necessary tables based on where the program aborted
// for example if account_tx, all tables before account_tx
// should be already deleted so we skip for deletion
tableFound := false