diff --git a/gnovm/cmd/gno/lint.go b/gnovm/cmd/gno/lint.go index 7fd073f1504..b5ae45ef14b 100644 --- a/gnovm/cmd/gno/lint.go +++ b/gnovm/cmd/gno/lint.go @@ -159,7 +159,8 @@ func execLint(cfg *lintCfg, args []string, io commands.IO) error { io.ErrPrintfln("%s: module is draft, skipping type check", pkgPath) } - tm := test.Machine(testStore, stdout, memPkg.Path, false) + tm := test.Machine(gs, goio.Discard, memPkg.Path, false) + defer tm.Release() // Check package