Skip to content

Commit

Permalink
disable credo for 2 lines
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszsamson committed Jul 7, 2023
1 parent bedfc00 commit 9e56e55
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/elixir_sense/core/metadata_builder.ex
Original file line number Diff line number Diff line change
Expand Up @@ -1010,6 +1010,7 @@ defmodule ElixirSense.Core.MetadataBuilder do
else
# pre Elixir 1.4 local call syntax
# TODO remove on Elixir 2.0
# credo:disable-for-next-line
if not Keyword.get(meta, :no_call, false) do
add_call_to_line(state, {nil, var_or_call, 0}, {line, column})
else
Expand Down Expand Up @@ -1246,6 +1247,7 @@ defmodule ElixirSense.Core.MetadataBuilder do
_ ->
line = Keyword.fetch!(meta, :line)

# credo:disable-for-next-line
if not Keyword.get(meta, :no_call, false) do
column = Keyword.fetch!(meta, :column)

Expand Down

0 comments on commit 9e56e55

Please sign in to comment.