HomeSolus

Go/switch_repo_domain: Cleanup massive if indention & misc improvements

Description

Go/switch_repo_domain: Cleanup massive if indention & misc improvements

  • Use err != nil pattern to avoid massive if statment indendation.
  • Check if a directory isn't a git repo and skip if so.
  • Print how many repos where successfully switched.

Details

Provenance
joebonrichieAuthored on Sat, Jul 29, 2:07 PM
joebonrichiePushed on Sat, Jul 29, 2:09 PM
Parents
rCOMNf8b99ce78660: Go: Repurpose switch_repo_domains for move to github
Branches
Unknown
Tags
Unknown