Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
Signed-off-by: gfanton <[email protected]>
  • Loading branch information
gfanton committed Nov 20, 2023
1 parent 3fbb115 commit 90bcf58
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
9 changes: 0 additions & 9 deletions gnovm/cmd/gno/env.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,6 @@ type envVar struct {
Value string
}

func getEnvVar(vars []envVar, key string) string {
for _, env := range vars {
if env.Key == key {
return env.Value
}
}
return ""
}

func findEnv(env []envVar, name string) string {
for _, e := range env {
if e.Key == name {
Expand Down
2 changes: 1 addition & 1 deletion tm2/pkg/crypto/keys/client/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func NewRootCmd(io commands.IO) *commands.Command {
}

func (c *baseCfg) RegisterFlags(fs *flag.FlagSet) {
var homedir = gnoenv.HomeDir()
homedir := gnoenv.HomeDir()

// Base options
fs.StringVar(
Expand Down

0 comments on commit 90bcf58

Please sign in to comment.