Skip to content

Commit

Permalink
Stripping whitespaces around framework names
Browse files Browse the repository at this point in the history
  • Loading branch information
tmspzz committed Sep 25, 2016
1 parent 98f8b53 commit 1f1b662
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Data/Romefile.hs
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,4 @@ getBucket ini = requireKey s3BucketKey `inRequiredSection` cacheSectionDelimiter

getRomefileEntries ini = do
m <- inOptionalSection repositoryMapSectionDelimiter M.empty keysAndValues `fromIni''` ini
return $ Prelude.map (\(repoName, frameworkCommonNames) -> RomefileEntry (unpack repoName) (Prelude.map unpack (splitOn "," frameworkCommonNames))) (M.toList m)
return $ Prelude.map (\(repoName, frameworkCommonNames) -> RomefileEntry (unpack repoName) (Prelude.map (unpack . strip) (splitOn "," frameworkCommonNames))) (M.toList m)

0 comments on commit 1f1b662

Please sign in to comment.