summaryrefslogtreecommitdiffstats
path: root/main.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2020-03-09 11:34:10 +1100
committerJesse Duffield <jessedduffield@gmail.com>2020-03-09 12:23:13 +1100
commite47ad846c4b6100aaff7013a3516d329bde19194 (patch)
treeead7f3f0a911d7ee4f4f46640c2bf449a74e8e05 /main.go
parent8f68ac21293f1a0476802974817d9f87875f8743 (diff)
big golangci-lint cleanup
Diffstat (limited to 'main.go')
-rw-r--r--main.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/main.go b/main.go
index 3963fa2b4..308d83a4e 100644
--- a/main.go
+++ b/main.go
@@ -4,7 +4,6 @@ import (
"fmt"
"log"
"os"
- "path/filepath"
"runtime"
"github.com/go-errors/errors"
@@ -20,11 +19,6 @@ var (
buildSource = "unknown"
)
-func projectPath(path string) string {
- gopath := os.Getenv("GOPATH")
- return filepath.FromSlash(gopath + "/src/github.com/jesseduffield/lazygit/" + path)
-}
-
func main() {
flaggy.DefaultParser.ShowVersionWithVersionFlag = false