Skip to content
Snippets Groups Projects
Commit a301b156 authored by Edsko de Vries's avatar Edsko de Vries
Browse files

Change globalRepos to withGlobalRepos

In other words, give it a callback, changing the type from

    globalRepos :: GlobalFlags -> [Repo]

to

    Verbosity -> GlobalFlags -> ([Repo] -> IO a) -> IO a

This will be necessary for repositories that need to do some
repository-specific initialization (even if we don't currently have any, we
will soon). The Verbosity flag is not used yet, but will be.

This just changes the type and deals with the fallout.
parent a8056d47
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment