chore(lint): rename lint action step for clarity and consistency in Gitea workflow

This commit is contained in:
keven1024
2025-12-20 08:42:05 +08:00
parent 831d9b2660
commit 0c980e8b6c
2 changed files with 12 additions and 12 deletions

View File

@@ -38,7 +38,7 @@ jobs:
with:
go-version: '1.25'
- name: Install golangci-lint
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v9
with:
version: latest
@@ -55,7 +55,7 @@ jobs:
with:
go-version: '1.25'
- name: Install golangci-lint
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v9
with:
version: latest

View File

@@ -21,5 +21,5 @@ const renderList = [
{ key: 'file', component: FileUploadView },
{ key: 'text', component: TextUploadView },
]
const renderComponent = computed(() => renderList.find(item => item.key === type.value)?.component)
const renderComponent = computed(() => renderList.find((item) => item.key === type.value)?.component)
</script>