Skip to content

Commit

Permalink
Fix up some linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
garethr committed Apr 23, 2023
1 parent 0cb6350 commit 07b60c1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion internal/commands/default.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ func NewDefaultCommand() *cobra.Command {
Long: ``,
SilenceUsage: true,
Run: func(cmd *cobra.Command, args []string) {
cmd.Help()
_ = cmd.Help()
},
}

Expand Down
2 changes: 0 additions & 2 deletions internal/commands/packages.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ import (
"github.com/spf13/cobra"
)

const server = "https://packages.ecosyste.ms/api/v1"

func NewPackageCommand() *cobra.Command {
cmd := cobra.Command{
Use: "package <purl> ",
Expand Down

0 comments on commit 07b60c1

Please sign in to comment.