Thanks to visit codestin.com
Credit goes to github.com

Skip to content

chore: bump crate-ci/typos from v1.14.12 to v1.16.0 and fix typos #8455

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jul 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ jobs:

# Check for any typos
- name: Check for typos
uses: crate-ci/typos@v1.14.12
uses: crate-ci/typos@v1.16.0
with:
config: .github/workflows/typos.toml

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/typos.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Jetbrains = "JetBrains"
IST = "IST"
MacOS = "macOS"
AKS = "AKS"
O_WRONLY = "O_WRONLY"

[default.extend-words]
AKS = "AKS"
Expand All @@ -25,4 +26,6 @@ extend-exclude = [
"**XService**.ts",
"**identity.go",
"scripts/ci-report/testdata/**",
"**/*_test.go",
"**/*.test.tsx"
]
2 changes: 1 addition & 1 deletion codersdk/agentsdk/logs.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func StartupLogsWriter(ctx context.Context, sender func(ctx context.Context, log
// will be discarded.
func StartupLogsSender(patchStartupLogs func(ctx context.Context, req PatchStartupLogs) error, logger slog.Logger) (sendLog func(ctx context.Context, log ...StartupLog) error, flushAndClose func(context.Context) error) {
// The main context is used to close the sender goroutine and cancel
// any outbound requests to the API. The shudown context is used to
// any outbound requests to the API. The shutdown context is used to
// signal the sender goroutine to flush logs and then exit.
ctx, cancel := context.WithCancel(context.Background())
shutdownCtx, shutdown := context.WithCancel(ctx)
Expand Down
2 changes: 1 addition & 1 deletion enterprise/replicasync/replicasync.go
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ func (m *Manager) Close() error {
defer m.mutex.Unlock()
ctx, cancelFunc := context.WithTimeout(context.Background(), 5*time.Second)
defer cancelFunc()
// nolint:gocritic // Updating a replica is a sytsem function.
// nolint:gocritic // Updating a replica is a system function.
_, err := m.db.UpdateReplica(dbauthz.AsSystemRestricted(ctx), database.UpdateReplicaParams{
ID: m.self.ID,
UpdatedAt: database.Now(),
Expand Down