Skip to content

Instantly share code, notes, and snippets.

@chiroptical
Created October 11, 2023 01:01
Show Gist options
  • Save chiroptical/a326edc02d0a11d3ca75228bcc7b02c7 to your computer and use it in GitHub Desktop.
Save chiroptical/a326edc02d0a11d3ca75228bcc7b02c7 to your computer and use it in GitHub Desktop.
Elixir warning
W def random_code() do ■ Function random_code/0 has no local return
┆ :crypto.strong_rand_bytes(5)
┆ |> Base.encode32(padding: false, lower: true)
┆ end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment