mirror of
https://github.com/lordmathis/lemma.git
synced 2025-11-06 16:04:23 +00:00
Setup and run go linters
This commit is contained in:
@@ -7,8 +7,6 @@ import (
|
||||
"os"
|
||||
"path/filepath"
|
||||
"strings"
|
||||
|
||||
git "novamd/internal/gitutils"
|
||||
)
|
||||
|
||||
type FileSystem struct {
|
||||
@@ -30,7 +28,7 @@ func New(rootDir string, settings *models.Settings) *FileSystem {
|
||||
}
|
||||
|
||||
if settings.Settings.GitEnabled {
|
||||
fs.GitRepo = git.New(
|
||||
fs.GitRepo = gitutils.New(
|
||||
settings.Settings.GitURL,
|
||||
settings.Settings.GitUser,
|
||||
settings.Settings.GitToken,
|
||||
|
||||
Reference in New Issue
Block a user