summaryrefslogtreecommitdiffstats
path: root/pkg/cheatsheet
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2022-08-14 14:33:44 +1000
committerJesse Duffield <jessedduffield@gmail.com>2022-08-14 17:20:52 +1000
commit5173d7f5e17fbcab8cf2411abae1e064b076ebbb (patch)
treec5cc281b56f6b927e5408ec1961bfafd4dea8049 /pkg/cheatsheet
parent349a7d24532a32feaaf40129b3b07b9215b8a625 (diff)
better CLI interface
Diffstat (limited to 'pkg/cheatsheet')
-rw-r--r--pkg/cheatsheet/generate.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/cheatsheet/generate.go b/pkg/cheatsheet/generate.go
index 73ae07a55..3b9d9c2d1 100644
--- a/pkg/cheatsheet/generate.go
+++ b/pkg/cheatsheet/generate.go
@@ -20,7 +20,7 @@ import (
"github.com/jesseduffield/lazygit/pkg/gui/keybindings"
"github.com/jesseduffield/lazygit/pkg/gui/types"
"github.com/jesseduffield/lazygit/pkg/i18n"
- "github.com/jesseduffield/lazygit/pkg/integration"
+ "github.com/jesseduffield/lazygit/pkg/utils"
"github.com/samber/lo"
)
@@ -45,7 +45,7 @@ func CommandToRun() string {
}
func GetDir() string {
- return integration.GetProjectRootDirectory() + "/docs/keybindings"
+ return utils.GetLazygitRootDirectory() + "/docs/keybindings"
}
func generateAtDir(cheatsheetDir string) {