Skip to content

Commit 2c2dd0e

Browse files
dependabot[bot]matifalimafredri
authored
chore: bump crate-ci/typos from v1.14.12 to v1.16.0 and fix typos (#8455)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Muhammad Atif Ali <atif@coder.com> Co-authored-by: Mathias Fredriksson <mafredri@gmail.com>
1 parent 7a210d9 commit 2c2dd0e

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

.github/workflows/ci.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ jobs:
122122
123123
# Check for any typos
124124
- name: Check for typos
125-
uses: crate-ci/typos@v1.14.12
125+
uses: crate-ci/typos@v1.16.0
126126
with:
127127
config: .github/workflows/typos.toml
128128

.github/workflows/typos.toml

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Jetbrains = "JetBrains"
44
IST = "IST"
55
MacOS = "macOS"
66
AKS = "AKS"
7+
O_WRONLY = "O_WRONLY"
78

89
[default.extend-words]
910
AKS = "AKS"
@@ -25,4 +26,6 @@ extend-exclude = [
2526
"**XService**.ts",
2627
"**identity.go",
2728
"scripts/ci-report/testdata/**",
29+
"**/*_test.go",
30+
"**/*.test.tsx"
2831
]

codersdk/agentsdk/logs.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ func StartupLogsWriter(ctx context.Context, sender func(ctx context.Context, log
9393
// will be discarded.
9494
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) {
9595
// The main context is used to close the sender goroutine and cancel
96-
// any outbound requests to the API. The shudown context is used to
96+
// any outbound requests to the API. The shutdown context is used to
9797
// signal the sender goroutine to flush logs and then exit.
9898
ctx, cancel := context.WithCancel(context.Background())
9999
shutdownCtx, shutdown := context.WithCancel(ctx)

enterprise/replicasync/replicasync.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ func (m *Manager) Close() error {
378378
defer m.mutex.Unlock()
379379
ctx, cancelFunc := context.WithTimeout(context.Background(), 5*time.Second)
380380
defer cancelFunc()
381-
// nolint:gocritic // Updating a replica is a sytsem function.
381+
// nolint:gocritic // Updating a replica is a system function.
382382
_, err := m.db.UpdateReplica(dbauthz.AsSystemRestricted(ctx), database.UpdateReplicaParams{
383383
ID: m.self.ID,
384384
UpdatedAt: database.Now(),

0 commit comments

Comments
 (0)