Skip to content

Commit

Permalink
chore: remove protogetter nolint as its patched
Browse files Browse the repository at this point in the history
Issue ghostiam/protogetter#8 has been fixed. Can therefore remove the nolint.
  • Loading branch information
m4mm4r authored and sofiathoren committed Apr 11, 2024
1 parent b486431 commit b1990d5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions encoding/protobq/unmarshal.go
Original file line number Diff line number Diff line change
Expand Up @@ -477,8 +477,6 @@ func (o UnmarshalOptions) unmarshalStruct(bqValue bigquery.Value) (*structpb.Str
return nil, fmt.Errorf("unsupported BigQuery value for %s: %#v", wkt.Struct, bqValue)
}
var structValue structpb.Struct
// Linter issue https://github.com/ghostiam/protogetter/issues/8
//nolint:protogetter
if err := structValue.UnmarshalJSON([]byte(s)); err != nil {
return nil, fmt.Errorf("invalid BigQuery value for %s: %#v: %w", wkt.Struct, bqValue, err)
}
Expand Down

0 comments on commit b1990d5

Please sign in to comment.