From fae70b4cb7b00579ebfc2d327edc89b98042b6b5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 6 Dec 2022 10:27:36 +0000 Subject: [PATCH 1/3] chore: bump crate-ci/typos from 1.12.12 to 1.13.3 Bumps [crate-ci/typos](https://github.com/crate-ci/typos) from 1.12.12 to 1.13.3. - [Release notes](https://github.com/crate-ci/typos/releases) - [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md) - [Commits](https://github.com/crate-ci/typos/compare/v1.12.12...v1.13.3) --- updated-dependencies: - dependency-name: crate-ci/typos dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/coder.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/coder.yaml b/.github/workflows/coder.yaml index 0ee2997bdc712..5c3b4c1a7a375 100644 --- a/.github/workflows/coder.yaml +++ b/.github/workflows/coder.yaml @@ -34,7 +34,7 @@ jobs: - name: Checkout uses: actions/checkout@v2 - name: typos-action - uses: crate-ci/typos@v1.12.12 + uses: crate-ci/typos@v1.13.3 with: config: .github/workflows/typos.toml - name: Fix Helper From 375b6cd7399f48666e7a45f8fee4643fca04a9ec Mon Sep 17 00:00:00 2001 From: Geoffrey Huntley Date: Tue, 6 Dec 2022 11:43:44 +0000 Subject: [PATCH 2/3] ignore word: encrypter --- .github/workflows/typos.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/typos.toml b/.github/workflows/typos.toml index 8f2acbd06c4e3..bfe9951be551a 100644 --- a/.github/workflows/typos.toml +++ b/.github/workflows/typos.toml @@ -10,6 +10,7 @@ doas = "doas" darcula = "darcula" Hashi = "Hashi" trialer = "trialer" +encrypter = "encrypter" [files] extend-exclude = [ From f22c9c144954093c0cb2ef5f755f4cb891e46f75 Mon Sep 17 00:00:00 2001 From: Geoffrey Huntley Date: Tue, 6 Dec 2022 11:44:31 +0000 Subject: [PATCH 3/3] spelling unmarshaling -> unmarshalling --- coderd/httpapi/json.go | 4 ++-- coderd/templateversions.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/coderd/httpapi/json.go b/coderd/httpapi/json.go index 77a43634ab20b..8503dae6eff2e 100644 --- a/coderd/httpapi/json.go +++ b/coderd/httpapi/json.go @@ -8,8 +8,8 @@ import ( ) // Duration wraps time.Duration and provides better JSON marshaling and -// unmarshaling. The default time.Duration marshals as an integer and only -// accepts integers when unmarshaling, which is not very user friendly as users +// unmarshalling. The default time.Duration marshals as an integer and only +// accepts integers when unmarshalling, which is not very user friendly as users // cannot write durations like "1h30m". // // This type marshals as a string like "1h30m", and unmarshals from either a diff --git a/coderd/templateversions.go b/coderd/templateversions.go index 2952baede44e8..5afeb7791d187 100644 --- a/coderd/templateversions.go +++ b/coderd/templateversions.go @@ -438,7 +438,7 @@ func (api *API) fetchTemplateVersionDryRunJob(rw http.ResponseWriter, r *http.Re err = json.Unmarshal(job.Input, &input) if err != nil { httpapi.Write(ctx, rw, http.StatusInternalServerError, codersdk.Response{ - Message: "Internal error unmarshaling job metadata.", + Message: "Internal error unmarshalling job metadata.", Detail: err.Error(), }) return database.ProvisionerJob{}, false