Skip to content

Commit

Permalink
chore: rename args to params
Browse files Browse the repository at this point in the history
  • Loading branch information
lucacervello committed Mar 14, 2024
1 parent 7499c57 commit 738cfe3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/next_ls/db.ex
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ defmodule NextLS.DB do
)
end

for {name, {:v1, type, _meta, clauses}} <- defs, {meta, args, _, _} <- clauses do
for {name, {:v1, type, _meta, clauses}} <- defs, {meta, params, _, _} <- clauses do
__query__(
{conn, s.logger},
~Q"""
Expand All @@ -139,7 +139,7 @@ defmodule NextLS.DB do
file,
type,
name,
:erlang.term_to_binary(args),
:erlang.term_to_binary(params),
meta[:line],
meta[:column] || 1,
source
Expand Down

0 comments on commit 738cfe3

Please sign in to comment.