Skip to content

Commit

Permalink
Update share/wake/lib/system/remote_cache_api.wake
Browse files Browse the repository at this point in the history
Co-authored-by: Sam May <[email protected]>
  • Loading branch information
V-FEXrt and ag-eitilt authored Aug 30, 2024
1 parent 34b583e commit 2f0e47d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion share/wake/lib/system/remote_cache_api.wake
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down

0 comments on commit 2f0e47d

Please sign in to comment.