mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-11 12:25:47 +02:00
clearer separation of concerns when bootstrapping application
This commit is contained in:
parent
cf80978f15
commit
cd5b041b0f
12 changed files with 328 additions and 205 deletions
|
@ -55,7 +55,11 @@ func generateAtDir(cheatsheetDir string) {
|
|||
|
||||
for lang := range translationSetsByLang {
|
||||
mConfig.GetUserConfig().Gui.Language = lang
|
||||
mApp, _ := app.NewApp(mConfig)
|
||||
common, err := app.NewCommon(mConfig)
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
mApp, _ := app.NewApp(mConfig, common)
|
||||
path := cheatsheetDir + "/Keybindings_" + lang + ".md"
|
||||
file, err := os.Create(path)
|
||||
if err != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue