Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

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

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

cc @StevenNunez saw you had worked on this recently 👀

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