Răsfoiți Sursa

removing private opts

zach rice 7 ani în urmă
părinte
comite
94389137e8
2 a modificat fișierele cu 0 adăugiri și 2 ștergeri
  1. 0 1
      README.md
  2. 0 1
      main.go

+ 0 - 1
README.md

@@ -68,7 +68,6 @@ Application Options:
       --github-org=    Github organization to audit
       --github-url=    GitHub API Base URL, use for GitHub Enterprise. Example: https://github.example.com/api/v3/ (default: https://api.github.com/)
       --github-pr=     Github PR url to audit. This does not clone the repo. GITHUB_TOKEN must be set
-  -p, --private        Include private repos in audit
   -b, --branch=        branch name to audit (defaults to HEAD)
   -c, --commit=        sha of commit to stop at
       --depth=         maximum commit depth

+ 0 - 1
main.go

@@ -372,7 +372,6 @@ func cloneRepo() (*RepoDescriptor, error) {
 				Progress: os.Stdout,
 				Auth:     sshAuth,
 			})
-
 		} else {
 			repo, err = git.PlainClone(cloneTarget, false, &git.CloneOptions{
 				URL:      opts.Repo,