Merge pull request #133 from Vlix/patch-1
Removed AppSettings in error (Data/Yaml/Config.hs)
commitb981f3d5fbd41105c50aa64c38702905591bae5f
authorMichael Snoyman <michael@snoyman.com>
dateFri 4 May 2018, 08:36 (8 years ago)
parent7208beb8d6c047
ChangeLog.md+4
@@ -1,3 +1,7 @@
1+## 0.8.30
2+
3+* Removed `AppSettings` mentioned in `loadYamlSettings` error message.
4+
15## 0.8.29
26
37* Deprecated `decodeFile` [#129](https://github.com/snoyberg/yaml/issues/129)
Data/Yaml/Config.hs+1−1
@@ -195,7 +195,7 @@ loadYamlSettings runTimeFiles compileValues envUsage = do
195195 RequireCustomEnv env -> return $ applyEnvValue True env value'
196196
197197 case fromJSON value of
198− Error s -> error $ "Could not convert to AppSettings: " ++ s
198+ Error s -> error $ "Could not convert to expected type: " ++ s
199199 Success settings -> return settings
200200
201201-- | Same as @loadYamlSettings@, but get the list of runtime config files from
yaml.cabal+1−1
@@ -1,5 +1,5 @@
11name: yaml
2−version: 0.8.29
2+version: 0.8.30
33license: BSD3
44license-file: LICENSE
55author: Michael Snoyman <michael@snoyman.com>, Anton Ageev <antage@gmail.com>,Kirill Simonov