alexandrevicenzi / gistfy

Code once, share everywhere.
MIT License
65 stars 22 forks source link

guessLanguage is broken. #10

Closed giodamelio closed 10 years ago

giodamelio commented 10 years ago

The guessLanguage function is broken. It assumes every language definition has the alias key which is not true. JSON for example does not have it (http://localhost:3000/github/alexandrevicenzi/gistfy/package.json).