Skip to content

Commit

Permalink
MAJOR: make application go install friendly
Browse files Browse the repository at this point in the history
  • Loading branch information
oktalz committed Aug 8, 2024
1 parent 57466a6 commit 5d753ed
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ Session.vim

# VSC
.vscode
check-commit
2 changes: 1 addition & 1 deletion aspell/aspell.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"sort"
"strings"

"check-commit/match"
"github.com/haproxytech/check-commit/match"

"github.com/fatih/camelcase"
)
Expand Down
2 changes: 1 addition & 1 deletion aspell_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"os"
"testing"

"check-commit/aspell"
"github.com/haproxytech/check-commit/aspell"
)

func Test_Aspell(t *testing.T) {
Expand Down
5 changes: 3 additions & 2 deletions check.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
"unicode"
"unicode/utf8"

"check-commit/aspell"
"github.com/haproxytech/check-commit/aspell"

"github.com/google/go-github/v56/github"

Expand Down Expand Up @@ -245,7 +245,8 @@ func readGitEnvironment() (string, error) {

return GITLAB, nil
} else {
return "", fmt.Errorf("no suitable git environment variables found: %w", ErrGitEnvironment)
return LOCAL, nil
// return "", fmt.Errorf("no suitable git environment variables found: %w", ErrGitEnvironment)
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module check-commit
module github.com/haproxytech/check-commit

go 1.22

Expand Down

0 comments on commit 5d753ed

Please sign in to comment.