Skip to content

Commit

Permalink
fix some linter
Browse files Browse the repository at this point in the history
  • Loading branch information
tbruyelle committed Aug 27, 2024
1 parent bc2dc95 commit 9fff3f0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion internal/gno/gno.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ func (m *BinManager) Transpile() ([]byte, error) {
if m.shouldBuild {
args = append(args, "-gobuild")
}
cmd := exec.Command(m.gno, args...)
cmd := exec.Command(m.gno, args...) //nolint:gosec
// FIXME(tb): See https://github.com/gnolang/gno/pull/1695/files#r1697255524
const disableGoMod = "GO111MODULE=off"
cmd.Env = append(os.Environ(), disableGoMod)
Expand Down
1 change: 0 additions & 1 deletion internal/handler/completion.go
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,6 @@ func (s symbolFinder) findIn(symbols []gno.Symbol, selectors []string) []gno.Sym
if sym.Type != "" {
return s.findIn(s.baseSymbols, append([]string{sym.Type}, selectors[1:]...))
}

}

case strings.HasPrefix(sym.Name, name): // partial match
Expand Down

0 comments on commit 9fff3f0

Please sign in to comment.