Skip to content
Snippets Groups Projects
Commit 4d26ff8b authored by andreas.abel's avatar andreas.abel
Browse files

Fix missing space in error message

Add the missing space in error messages like:
```
  (conflict: requires NumDecimalswhich is not supported)
```
parent d11b925e
No related branches found
No related tags found
No related merge requests found
......@@ -18,11 +18,11 @@ import Text.EditDistance ( defaultEditCosts, levenshteinDistance )
showUnsupportedExtension :: Extension -> String
showUnsupportedExtension (UnknownExtension extStr) = formatMessage cutoffRange "extension" extStr (mostSimilarElement extStr allKnownExtensions)
showUnsupportedExtension extension = prettyShow extension ++ "which is not supported"
showUnsupportedExtension extension = unwords [prettyShow extension, "which is not supported"]
showUnsupportedLanguage :: Language -> String
showUnsupportedLanguage (UnknownLanguage langStr) = formatMessage cutoffRange "language" langStr (mostSimilarElement langStr (show <$> knownLanguages))
showUnsupportedLanguage knownLanguage = prettyShow knownLanguage ++ "which is not supported"
showUnsupportedLanguage knownLanguage = unwords [prettyShow knownLanguage, "which is not supported"]
allKnownExtensions :: [String]
allKnownExtensions = enabledExtensions ++ disabledExtensions
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment