Skip to content

Commit

Permalink
fix: lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
aymanbagabas committed Nov 6, 2023
1 parent d5e81ad commit 6dc3c59
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion git/patch.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"strings"
"sync"

"github.com/dustin/go-humanize/english"
"github.com/aymanbagabas/git-module"
"github.com/dustin/go-humanize/english"
"github.com/sergi/go-diff/diffmatchpatch"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/git/git.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import (
"path/filepath"
"strings"

gitm "github.com/aymanbagabas/git-module"
"github.com/charmbracelet/log"
"github.com/charmbracelet/soft-serve/git"
"github.com/go-git/go-git/v5/plumbing/format/pktline"
gitm "github.com/aymanbagabas/git-module"
)

// WritePktline encodes and writes a pktline to the given writer.
Expand Down
2 changes: 1 addition & 1 deletion pkg/lfs/scanner.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
"strings"
"sync"

"github.com/charmbracelet/soft-serve/git"
gitm "github.com/aymanbagabas/git-module"
"github.com/charmbracelet/soft-serve/git"
)

// SearchPointerBlobs scans the whole repository for LFS pointer files
Expand Down
2 changes: 1 addition & 1 deletion pkg/ssh/cmd/branch.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ import (
"fmt"
"strings"

gitm "github.com/aymanbagabas/git-module"
"github.com/charmbracelet/soft-serve/git"
"github.com/charmbracelet/soft-serve/pkg/backend"
"github.com/charmbracelet/soft-serve/pkg/proto"
"github.com/charmbracelet/soft-serve/pkg/webhook"
gitm "github.com/aymanbagabas/git-module"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/ui/pages/repo/files.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (
"strings"

"github.com/alecthomas/chroma/lexers"
gitm "github.com/aymanbagabas/git-module"
"github.com/charmbracelet/bubbles/key"
"github.com/charmbracelet/bubbles/spinner"
tea "github.com/charmbracelet/bubbletea"
Expand All @@ -15,7 +16,6 @@ import (
"github.com/charmbracelet/soft-serve/pkg/ui/common"
"github.com/charmbracelet/soft-serve/pkg/ui/components/code"
"github.com/charmbracelet/soft-serve/pkg/ui/components/selector"
gitm "github.com/aymanbagabas/git-module"
)

type filesView int
Expand Down
2 changes: 1 addition & 1 deletion pkg/ui/pages/repo/stash.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package repo
import (
"fmt"

gitm "github.com/aymanbagabas/git-module"
"github.com/charmbracelet/bubbles/key"
"github.com/charmbracelet/bubbles/spinner"
tea "github.com/charmbracelet/bubbletea"
Expand All @@ -12,7 +13,6 @@ import (
"github.com/charmbracelet/soft-serve/pkg/ui/common"
"github.com/charmbracelet/soft-serve/pkg/ui/components/code"
"github.com/charmbracelet/soft-serve/pkg/ui/components/selector"
gitm "github.com/aymanbagabas/git-module"
)

type stashState int
Expand Down
2 changes: 1 addition & 1 deletion pkg/ui/pages/repo/stashitem.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ import (
"fmt"
"io"

gitm "github.com/aymanbagabas/git-module"
"github.com/charmbracelet/bubbles/key"
"github.com/charmbracelet/bubbles/list"
tea "github.com/charmbracelet/bubbletea"
"github.com/charmbracelet/soft-serve/pkg/ui/common"
gitm "github.com/aymanbagabas/git-module"
)

// StashItem represents a stash item.
Expand Down
2 changes: 1 addition & 1 deletion pkg/webhook/push.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ import (
"context"
"fmt"

gitm "github.com/aymanbagabas/git-module"
"github.com/charmbracelet/soft-serve/git"
"github.com/charmbracelet/soft-serve/pkg/config"
"github.com/charmbracelet/soft-serve/pkg/db"
"github.com/charmbracelet/soft-serve/pkg/proto"
"github.com/charmbracelet/soft-serve/pkg/store"
gitm "github.com/aymanbagabas/git-module"
)

// PushEvent is a push event.
Expand Down

0 comments on commit 6dc3c59

Please sign in to comment.