diff --git a/share/wake/lib/system/remote_cache_api.wake b/share/wake/lib/system/remote_cache_api.wake index 12b2a475e..37884da8e 100644 --- a/share/wake/lib/system/remote_cache_api.wake +++ b/share/wake/lib/system/remote_cache_api.wake @@ -560,7 +560,7 @@ def resolveDbScheme _scheme path = # Dispatches the content resolution for uri based on its scheme def resolveUriResponse (dbSchemeFn: (String => String => Result a Error)) (fileSchemeFn: (String => String => Result a Error)) (uri: String) = - require scheme, path, Nil = (uri | extract `([a-zA-Z][a-zA-Z0-9+.-]*)://(.*)`) + require scheme, path, Nil = extract `([a-zA-Z][a-zA-Z0-9+.-]*)://(.*)` uri else failWithError "rsc: uri has unexpected format: '{uri}'" def unsupportedSchemeFn s p =