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

Exception if .learn is malformed #23

Open
sammarcus opened this issue Jul 17, 2018 · 1 comment
Open

Exception if .learn is malformed #23

sammarcus opened this issue Jul 17, 2018 · 1 comment

Comments

@sammarcus
Copy link

@sammarcus sammarcus commented Jul 17, 2018

If a particular lab happens to have a .learn file that has no contents, it errors here with the .any:

(languages & ["swift", "objc"]).any?

If there isn't a default language being inserted into languages array this may be why, will explore a fix later this week -- (unless this is desired behavior as we consider a proper .learn bare minimum?)

@sammarcus
Copy link
Author

@sammarcus sammarcus commented Jul 17, 2018

cc @StevenNunez saw you had worked on this recently 👀

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