Treat blank pre-request config as missing (#929)

This commit is contained in:
Joe Nelson
2017-08-09 08:42:32 -05:00
committed by GitHub
parent 0ed4215a0d
commit 9af539b51c
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -19,6 +19,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
- #896, Boolean env var interpolation in config file - @begriffs
- #885, OpenAPI repetition reduced by using more definitions- @ldesgoui
- #924, Improve relations initialization time - @9too
- #927, Treat blank pre-request as missing - @begriffs
## [0.4.2.0] - 2017-06-11
+1 -1
View File
@@ -114,7 +114,7 @@ readOptions = do
<*> (fromMaybe False . join . fmap coerceBool <$> C.key "secret-is-base64")
<*> (fromMaybe 10 . join . fmap coerceInt <$> C.key "db-pool")
<*> (join . fmap coerceInt <$> C.key "max-rows")
<*> C.key "pre-request"
<*> (mfilter (/= "") <$> C.key "pre-request")
<*> pure False
case mAppConf of