Skip to content

Commit e81af05

Browse files
committed
fix typos
1 parent f31e5d7 commit e81af05

File tree

5 files changed

+5
-4
lines changed

5 files changed

+5
-4
lines changed

.githooks/go-lint

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#!/bin/bash
2-
devbox run lint-all
2+
devbox run -- just lint-all

.githooks/goimports

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#!/bin/bash
2-
devbox run goimports-all
2+
devbox run -- just goimports-all

_typos.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[files]
22
extend-exclude = [
3+
"**/go-cache",
34
"framework/examples/myproject_cll/README.md",
45
"framework/components/blockchain/tron.go",
56
"tools/flakeguard/e2e-flaky-test-guide.md",

tools/flakeguard/reports/io.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ func LoadReport(filePath string) (*TestReport, error) {
365365
}
366366
var report TestReport
367367
if err := json.Unmarshal(data, &report); err != nil {
368-
return nil, fmt.Errorf("error unmarshaling JSON from file %s: %w", filePath, err)
368+
return nil, fmt.Errorf("error unmarshalling JSON from file %s: %w", filePath, err)
369369
}
370370
return &report, nil
371371
}

tools/flakeguard/reports/splunk.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ func unBatchSplunkResults(batch []byte) ([]*SplunkTestResult, error) {
213213

214214
result := pool.Get().(*SplunkTestResult)
215215
if err := json.Unmarshal(line, result); err != nil {
216-
return results, fmt.Errorf("error unmarshaling result: %w", err)
216+
return results, fmt.Errorf("error unmarshalling result: %w", err)
217217
}
218218
results = append(results, result)
219219
}

0 commit comments

Comments
 (0)