changed signatures for strategies

This commit is contained in:
Manuel Carmona
2017-06-12 13:42:20 +02:00
parent 5f0e92b1a8
commit beda5b73e7
13 changed files with 501 additions and 465 deletions

View File

@ -31,9 +31,8 @@ func IsAuxiliaryLanguage(lang string) bool {
// IsConfiguration returns whether or not path is using a configuration language.
func IsConfiguration(path string) bool {
lang, _ := GetLanguageByExtension(path)
_, is := configurationLanguages[lang]
language, _ := GetLanguageByExtension(path)
_, is := configurationLanguages[language]
return is
}