diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2020-03-09 11:34:10 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2020-03-09 12:23:13 +1100 |
commit | e47ad846c4b6100aaff7013a3516d329bde19194 (patch) | |
tree | ead7f3f0a911d7ee4f4f46640c2bf449a74e8e05 /main.go | |
parent | 8f68ac21293f1a0476802974817d9f87875f8743 (diff) |
big golangci-lint cleanup
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -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 |