Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
turbolent committed Apr 3, 2024
1 parent f179c0d commit 7227559
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion runtime/convertTypes.go
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,7 @@ func importCompositeType(memoryGauge common.MemoryGauge, t cadence.CompositeType
primitiveStaticType := interpreter.PrimitiveStaticTypeFromTypeID(typeID)

if primitiveStaticType != interpreter.PrimitiveStaticTypeUnknown &&
!primitiveStaticType.IsDeprecated() {
!primitiveStaticType.IsDeprecated() { //nolint:staticcheck

return primitiveStaticType
}
Expand Down
2 changes: 1 addition & 1 deletion runtime/convertValues_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1161,7 +1161,7 @@ func TestRuntimeImportRuntimeType(t *testing.T) {
qualifiedIdentifier := string(typeID)

var expectedForComposite interpreter.StaticType
if ty.IsDeprecated() {
if ty.IsDeprecated() { //nolint:staticcheck
expectedForComposite = interpreter.NewCompositeStaticType(
nil,
nil,
Expand Down

0 comments on commit 7227559

Please sign in to comment.