ci: add spell checker and fix existing typo (#3420)

* ci: add spell checker and fix existing typo

* chore: move typos.toml to .github

* fix: correct config file path
This commit is contained in:
Zhizhen He
2023-03-30 16:38:29 +08:00
committed by GitHub
parent e3cee0adc2
commit 6f847a3492
23 changed files with 59 additions and 35 deletions

View File

@@ -1313,7 +1313,7 @@ func (c *batchCreator) nodes(ctx context.Context, drv dialect.Driver) error {
// If the ID value was provided to one of the nodes, it should be
// provided to all others because this affects the way we calculate
// their values in MySQL and SQLite dialects.
return fmt.Errorf("incosistent id values for batch insert")
return fmt.Errorf("inconsistent id values for batch insert")
}
// Assign NULL values for empty placeholders.
values[i][column] = nil