mirror of
https://github.com/coder/coder.git
synced 2025-07-18 14:17:22 +00:00
chore: bump crate-ci/typos from 1.12.12 to 1.13.3 (#5304)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Geoffrey Huntley <ghuntley@ghuntley.com>
This commit is contained in:
2
.github/workflows/coder.yaml
vendored
2
.github/workflows/coder.yaml
vendored
@ -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
|
||||
|
1
.github/workflows/typos.toml
vendored
1
.github/workflows/typos.toml
vendored
@ -10,6 +10,7 @@ doas = "doas"
|
||||
darcula = "darcula"
|
||||
Hashi = "Hashi"
|
||||
trialer = "trialer"
|
||||
encrypter = "encrypter"
|
||||
|
||||
[files]
|
||||
extend-exclude = [
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user