Merge pull request #371 from andyzhangx/fix-codespell
chore: fix code spelling issue
This commit is contained in:
commit
1ccf8136d6
1
.github/workflows/codespell.yml
vendored
1
.github/workflows/codespell.yml
vendored
@ -13,3 +13,4 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
check_filenames: true
|
check_filenames: true
|
||||||
skip: ./.git,./.github/workflows/codespell.yml,.git,*.png,*.jpg,*.svg,*.sum,./vendor,go.sum,./release-tools/prow.sh
|
skip: ./.git,./.github/workflows/codespell.yml,.git,*.png,*.jpg,*.svg,*.sum,./vendor,go.sum,./release-tools/prow.sh
|
||||||
|
ignore_words_list: "ro"
|
||||||
|
|||||||
2
.github/workflows/trivy.yaml
vendored
2
.github/workflows/trivy.yaml
vendored
@ -7,7 +7,7 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Build
|
name: Build
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|||||||
@ -286,7 +286,7 @@ func TestSetKeyValueInMap(t *testing.T) {
|
|||||||
expected: map[string]string{"subDir": "value"},
|
expected: map[string]string{"subDir": "value"},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
desc: "case insentive key already exists",
|
desc: "case insensitive key already exists",
|
||||||
m: map[string]string{"subDir": "value2"},
|
m: map[string]string{"subDir": "value2"},
|
||||||
key: "subdir",
|
key: "subdir",
|
||||||
value: "value",
|
value: "value",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user