Skip to content

Commit

Permalink
linting issue
Browse files Browse the repository at this point in the history
  • Loading branch information
anupsv committed Aug 14, 2024
1 parent d1a77ba commit 7236bfe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion arbos/programs/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ func newApiClosures(
if suberr != nil {
addr = zeroAddr
}
if !errors.Is(vm.ErrExecutionReverted, suberr) {
if !errors.Is(vm.ErrExecutionReverted, suberr) { //nolint:all
res = nil // returnData is only provided in the revert case (opCreate)
}
interpreter.SetReturnData(res)
Expand Down
2 changes: 1 addition & 1 deletion cmd/nitro/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func TestReloads(t *testing.T) {
hot := node.Type().Field(i).Tag.Get("reload") == "hot"
dot := path + "." + node.Type().Field(i).Name
if hot && cold {
t.Fatalf(fmt.Sprintf(
t.Fatalf(fmt.Sprintf( //nolint:all
"Option %v%v%v is reloadable but %v%v%v is not",
colors.Red, dot, colors.Clear,
colors.Red, path, colors.Clear,
Expand Down

0 comments on commit 7236bfe

Please sign in to comment.