Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Actions debug #150

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions lib/sobelow.ex
Original file line number Diff line number Diff line change
Expand Up @@ -484,6 +484,7 @@

defp load_ignored_fingerprints(project_root) do
cfile = project_root <> @skips
IO.inspect(cfile, label: "Sobelow skips file")

Check warning on line 487 in lib/sobelow.ex

View workflow job for this annotation

GitHub Actions / mix test (Elixir 1.7.x | OTP 22.3.4.26)

There should be no calls to IO.inspect/1.

Check warning on line 487 in lib/sobelow.ex

View workflow job for this annotation

GitHub Actions / mix test (Elixir 1.8.x | OTP 22.3.4.26)

There should be no calls to IO.inspect/1.

Check warning on line 487 in lib/sobelow.ex

View workflow job for this annotation

GitHub Actions / mix test (Elixir 1.9.x | OTP 22.3.4.26)

There should be no calls to IO.inspect/1.

Check warning on line 487 in lib/sobelow.ex

View workflow job for this annotation

GitHub Actions / mix test (Elixir 1.10.x | OTP 22.3.4.26)

There should be no calls to IO.inspect/1.

Check warning on line 487 in lib/sobelow.ex

View workflow job for this annotation

GitHub Actions / mix test (Elixir 1.11.x | OTP 23.3.4.18)

There should be no calls to IO.inspect/1.

Check warning on line 487 in lib/sobelow.ex

View workflow job for this annotation

GitHub Actions / mix test (Elixir 1.12.x | OTP 24)

There should be no calls to IO.inspect/1.

Check warning on line 487 in lib/sobelow.ex

View workflow job for this annotation

GitHub Actions / mix test (Elixir 1.13.x | OTP 25.1)

There should be no calls to IO.inspect/1.

Check warning on line 487 in lib/sobelow.ex

View workflow job for this annotation

GitHub Actions / mix test (Elixir 1.14.x | OTP 25.1)

There should be no calls to IO.inspect/1.

Check warning on line 487 in lib/sobelow.ex

View workflow job for this annotation

GitHub Actions / mix test (Elixir 1.15.x | OTP 26)

There should be no calls to IO.inspect/1.

if File.exists?(cfile) do
{:ok, iofile} = :file.open(cfile, [:read])
Expand Down
2 changes: 1 addition & 1 deletion lib/sobelow/parse.ex
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ defmodule Sobelow.Parse do
end

defp create_fun_cap(fun, meta, idx) when is_number(idx) do
opts = Enum.map(1..idx, fn i -> {:&, [], [i]} end)
opts = Enum.map(1..trunc(idx), fn i -> {:&, [], [i]} end)
{fun, meta, opts}
end

Expand Down
Loading