Local has overwritten my entire hosts file - Windows 10, Local 6.7.0

Bug Summary

Don’t know exactly when/how, Local has entirely overwritten my hosts file, so that the only entries left are those between

Local - Start

and

Local - End

Steps to reproduce

Most probably when Local failed to import a site and the entire list of sites disappeared.

Environment Info

  • What Operating System are you using? Windows 10
  • What versions of site software (Nginx, Apache, PHP, MySQL) is used? N/A
  • What version of Local is installed? 6.7.0