Fix iOS build broken due to #438
commitb891a5355f1deb4b2909570ccc2979e962f71965
authorDivam <dfordivam@gmail.com>
dateMon 10 Jun 2019, 09:46 (7 years ago)
parentc4e22c9
lib/executable-config/lookup/src-ios/Obelisk/ExecutableConfig/Lookup.hs+1−1
@@ -12,4 +12,4 @@ import Obelisk.ExecutableConfig.Internal.ConfigDirectory
1212getConfigs :: IO (Map Text Text)
1313getConfigs = mainBundleResourcePath >>= \case
1414 Nothing -> error "Could not get bundle resource path."
15− Just p -> getConfigsFromDirectory (T.unpack (T.decodeUtf8 p)) "config"
15+ Just _ -> getConfigsFromDirectory "config"