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

Build warnings #70

Closed
metehan opened this issue Jul 26, 2021 · 0 comments
Closed

Build warnings #70

metehan opened this issue Jul 26, 2021 · 0 comments

Comments

@metehan
Copy link

metehan commented Jul 26, 2021

warning: do not use "length(errors) > 0" to check if a list is not empty since length always traverses the whole list. Prefer to pattern match on a non-empty list, such as [_ | _], or use "errors != []" as a guard
  lib/vex.ex:15

warning: module attribute @only was set but never used
  lib/vex/blank.ex:2
@metehan metehan closed this as completed Jul 26, 2021
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

1 participant