Skip to content

Commit cfce2e0

Browse files
committed
rm commented code
1 parent 60295ad commit cfce2e0

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

scripts/apitypings/main.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,6 @@ func (g *Generator) buildStruct(obj types.Object, st *types.Struct) (string, err
544544
tag := reflect.StructTag(st.Tag(i))
545545
// Adding a json struct tag causes the json package to consider
546546
// the field unembedded.
547-
// if field.Embedded() && tag.Get("json") == "" && field.Pkg().Name() == "codersdk" {
548547
if field.Embedded() && tag.Get("json") == "" {
549548
extendedFields[i] = true
550549
extends = append(extends, field.Name())

0 commit comments

Comments
 (0)