Skip to content

Commit

Permalink
Merge pull request #185 from ethangunderson/elixir-1-10
Browse files Browse the repository at this point in the history
elixir 1.10.2 fixes
  • Loading branch information
binaryseed authored Feb 27, 2020
2 parents cfabcdd + 53025fe commit 2d681a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ language: elixir
elixir:
- 1.8.2
- 1.9.4
- 1.10.2
otp_release:
- 22.2
- 21.3
Expand Down
1 change: 1 addition & 0 deletions lib/new_relic/tracer/macro.ex
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ defmodule NewRelic.Tracer.Macro do

# Take no action on the definition of a function head
def __on_definition__(_env, _access, _name, _args, _guards, nil), do: nil
def __on_definition__(_env, _access, _name, _args, _guards, []), do: nil

# Take no action if there is a top-level rescue clause
def __on_definition__(env, _access, name, _args, _guards, do: _, rescue: _) do
Expand Down

0 comments on commit 2d681a7

Please sign in to comment.