Skip to content
This repository has been archived by the owner on Jul 22, 2019. It is now read-only.

Commit

Permalink
removes markbates/going
Browse files Browse the repository at this point in the history
  • Loading branch information
markbates committed Feb 3, 2019
1 parent bf8af8d commit aa343c3
Show file tree
Hide file tree
Showing 3 changed files with 66 additions and 13 deletions.
7 changes: 5 additions & 2 deletions genny/plugin/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import (
"strings"
"time"

"github.com/markbates/going/defaults"
"github.com/pkg/errors"
)

Expand Down Expand Up @@ -47,7 +46,11 @@ func (opts *Options) Validate() error {
if err != nil {
return errors.WithStack(err)
}
opts.Author = defaults.String(u.Name, u.Username)
if len(u.Name) != 0 {
opts.Author = u.Name
} else if len(u.Username) != 0 {
opts.Author = u.Username
}
}

return nil
Expand Down
9 changes: 4 additions & 5 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,16 @@ module github.com/gobuffalo/buffalo-plugins
require (
github.com/BurntSushi/toml v0.3.1
github.com/gobuffalo/envy v1.6.12
github.com/gobuffalo/events v1.1.9
github.com/gobuffalo/genny v0.0.0-20190124191459-3310289fa4b4
github.com/gobuffalo/events v1.2.0
github.com/gobuffalo/genny v0.0.0-20190131190646-008a76242145
github.com/gobuffalo/licenser v0.0.0-20181211173111-f8a311c51159
github.com/gobuffalo/logger v0.0.0-20181127160119-5b956e21995c
github.com/gobuffalo/meta v0.0.0-20190121163014-ecaa953cbfb3
github.com/gobuffalo/packr/v2 v2.0.0-rc.15
github.com/gobuffalo/meta v0.0.0-20190126124307-c8fb6f4eb5a9
github.com/gobuffalo/packr/v2 v2.0.0
github.com/gobuffalo/plush v3.7.33+incompatible
github.com/gobuffalo/plushgen v0.0.0-20190104222512-177cd2b872b3
github.com/gobuffalo/release v1.1.6
github.com/karrick/godirwalk v1.7.8
github.com/markbates/going v1.0.3
github.com/markbates/oncer v0.0.0-20181203154359-bf2de49a0be2
github.com/pkg/errors v0.8.1
github.com/sirupsen/logrus v1.3.0
Expand Down
Loading

0 comments on commit aa343c3

Please sign in to comment.