Skip to content

Commit 3ba4342

Browse files
Fix lint error: remove unused nolint directive
The funlen nolint directive is no longer needed after removing deprecated commands from createCmdTree function. Also fix gofumpt formatting in notebook.go. Co-Authored-By: Alec Fong <[email protected]>
1 parent 7fd81b3 commit 3ba4342

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkg/cmd/cmd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ func NewBrevCommand() *cobra.Command { //nolint:funlen,gocognit,gocyclo // defin
209209
return cmds
210210
}
211211

212-
func createCmdTree(cmd *cobra.Command, t *terminal.Terminal, loginCmdStore *store.AuthHTTPStore, noLoginCmdStore *store.AuthHTTPStore, loginAuth *auth.LoginAuth) { //nolint:funlen // define brev command
212+
func createCmdTree(cmd *cobra.Command, t *terminal.Terminal, loginCmdStore *store.AuthHTTPStore, noLoginCmdStore *store.AuthHTTPStore, loginAuth *auth.LoginAuth) {
213213
cmd.AddCommand(set.NewCmdSet(t, loginCmdStore, noLoginCmdStore))
214214
cmd.AddCommand(ls.NewCmdLs(t, loginCmdStore, noLoginCmdStore))
215215
cmd.AddCommand(org.NewCmdOrg(t, loginCmdStore, noLoginCmdStore))

pkg/cmd/notebook/notebook.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package notebook
22

33
import (
44
"fmt"
5-
5+
66
"github.com/brevdev/brev-cli/pkg/cmd/portforward"
77
"github.com/brevdev/brev-cli/pkg/cmd/util"
88
"github.com/brevdev/brev-cli/pkg/entity"

0 commit comments

Comments
 (0)