mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore(.golangci.yaml): make gocyclo slightly more sensitive (#8383)
This commit is contained in:
@@ -615,6 +615,8 @@ type TypescriptType struct {
|
||||
// Eg:
|
||||
//
|
||||
// []byte returns "string"
|
||||
//
|
||||
//nolint:gocyclo
|
||||
func (g *Generator) typescriptType(ty types.Type) (TypescriptType, error) {
|
||||
switch ty := ty.(type) {
|
||||
case *types.Basic:
|
||||
|
||||
Reference in New Issue
Block a user