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

Dialyzer issue? #211

Open
leoamigood opened this issue Dec 14, 2022 · 1 comment
Open

Dialyzer issue? #211

leoamigood opened this issue Dec 14, 2022 · 1 comment

Comments

@leoamigood
Copy link

I might need some here here:

  def load(user, repo) do
    case Tentacat.Contents.readme(user, repo) do
      {200, data, _response} -> {:ok, data}
      {_, _, errors} -> {:error, errors}
    end
  end

dialyzer complains:

Function load/2 has no local return.

bugging out here...

@stocks29
Copy link

This only seems to happen when not passing a client. Passing a client into each function resolves the dialyzer issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants