on master help sign in
Merge pull request #133 from Vlix/patch-1
b981f3dMichael Snoyman
ChangeLog.md+4
@@ -1,3 +1,7 @@
1+## 0.8.30
2+
3+* Removed `AppSettings` mentioned in `loadYamlSettings` error message.
4+
1## 0.8.29
5## 0.8.29
2
6
3* Deprecated `decodeFile` [#129](https://github.com/snoyberg/yaml/issues/129)
7* 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
195 RequireCustomEnv env -> return $ applyEnvValue True env value'
195 RequireCustomEnv env -> return $ applyEnvValue True env value'
196
196
197 case fromJSON value of
197 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
199 Success settings -> return settings
199 Success settings -> return settings
200
200
201-- | Same as @loadYamlSettings@, but get the list of runtime config files from
201-- | Same as @loadYamlSettings@, but get the list of runtime config files from
yaml.cabal+1−1
@@ -1,5 +1,5 @@
1name: yaml
1name: yaml
2−version: 0.8.29
2+version: 0.8.30
3license: BSD3
3license: BSD3
4license-file: LICENSE
4license-file: LICENSE
5author: Michael Snoyman <michael@snoyman.com>, Anton Ageev <antage@gmail.com>,Kirill Simonov
5author: Michael Snoyman <michael@snoyman.com>, Anton Ageev <antage@gmail.com>,Kirill Simonov