Skip to content

Commit

Permalink
style: fix linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jahvon committed Sep 28, 2024
1 parent 2bc8ffb commit d5c1aed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions cmd/internal/workspace.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ func registerCreateWorkspaceCmd(ctx *context.Context, wsCmd *cobra.Command) {
wsCmd.AddCommand(createCmd)
}

//nolint:gocognit
func createWorkspaceFunc(ctx *context.Context, cmd *cobra.Command, args []string) {
logger := ctx.Logger
name := args[0]
Expand Down
2 changes: 1 addition & 1 deletion internal/io/library/view.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ var (
func (l *Library) View() string {
l.paneZeroViewport.Style = paneStyle(0, l.theme, l.splitView)
l.paneZeroViewport.SetContent(l.paneZeroContent())
l.paneZeroViewport.SetYOffset(int(l.currentWorkspace + l.currentNamespace))
l.paneZeroViewport.SetYOffset(int(l.currentWorkspace + l.currentNamespace)) //nolint:gosec

l.paneOneViewport.Style = paneStyle(1, l.theme, l.splitView)
l.paneOneViewport.SetContent(l.paneOneContent())
Expand Down

0 comments on commit d5c1aed

Please sign in to comment.