From 9a4d27a0c531ee70bf9e5cbfa9841b18e6f6e2c7 Mon Sep 17 00:00:00 2001 From: Stuart Douglas Date: Wed, 18 Dec 2024 16:16:02 +1100 Subject: [PATCH] fix: add Hermit bin dir (#3809) --- frontend/cli/cmd_init.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/frontend/cli/cmd_init.go b/frontend/cli/cmd_init.go index cbd5e5ac8..e6aa0f4fc 100644 --- a/frontend/cli/cmd_init.go +++ b/frontend/cli/cmd_init.go @@ -86,6 +86,11 @@ func (i initCmd) Run( if err := maybeGitAdd(ctx, i.Dir, "README.md"); err != nil { return fmt.Errorf("git add README.md: %w", err) } + if i.Hermit { + if err := maybeGitAdd(ctx, i.Dir, "bin"); err != nil { + return fmt.Errorf("git add bin: %w", err) + } + } } return nil }