Fix host clone auth (#350)

* trying auth fix

* fixing github private user auth and donate msg

* formatting

* go fmt...
This commit is contained in:
Zachary Rice authored and GitHub committed 2020-02-29 13:30:08 -05:00
1 parent 8e8873286e
commit dae5c142d7
4 files changed
+25 -6

No files matched your search

+2
View File
@@ -23,6 +23,7 @@ const (
Success = 0
LeaksPresent = 1
ErrorEncountered = 2
donateMessage = "👋 maintaining gitleaks takes a lot of work so consider sponsoring me or donating a little something\n❤️ https://github.com/sponsors/zricethezav\n💸 https://www.paypal.me/zricethezav\n₿ btc:3GndEzRZa6rJ8ZpkLureUcc5TDHMYfpDxn"
)
// Options stores values of command line options
@@ -76,6 +77,7 @@ func ParseOptions() (Options, error) {
if flagsErr, ok := err.(*flags.Error); ok && flagsErr.Type != flags.ErrHelp {
parser.WriteHelp(os.Stdout)
}
fmt.Println(donateMessage)
os.Exit(0)
}