alphagov / verify-local-startup

Utilities to run the Verify Hub and stubs locally
MIT License
1 stars 4 forks source link

BUGFIX Fix race condition when fetching repos #67

Closed j-maynard closed 3 years ago

j-maynard commented 3 years ago

A race condition could have occurred in the old version of the build-local.rb script when each thread attempted to check and fetch its appropriate git repo. This fixes that situation by separating out the logic for fetching git repos before the build the build process occurs.