From c8adaa920a8e0fe0cc172868a3811e643661f19e Mon Sep 17 00:00:00 2001 From: Jesse Duffield Date: Sat, 7 Sep 2019 19:20:28 +1000 Subject: [PATCH] use relative path when creating docs --- scripts/generate_cheatsheet.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/generate_cheatsheet.go b/scripts/generate_cheatsheet.go index 4ef6608ec..2e653bc7f 100644 --- a/scripts/generate_cheatsheet.go +++ b/scripts/generate_cheatsheet.go @@ -34,7 +34,7 @@ func main() { for lang := range i18n.GetTranslationSets() { os.Setenv("LC_ALL", lang) mApp, _ := app.NewApp(mConfig) - file, err := os.Create(getProjectRoot() + "/docs/keybindings/Keybindings_" + lang + ".md") + file, err := os.Create("./docs/keybindings/Keybindings_" + lang + ".md") if err != nil { panic(err) }