diff --git a/tmux/project.go b/tmux/project.go index 3e2b916..4336cdb 100644 --- a/tmux/project.go +++ b/tmux/project.go @@ -202,6 +202,9 @@ func (p *Project) GetRoot() string { func (p *Project) RunCommands(commands []string) { for _, command := range commands { + if command == "" { + continue + } args := strings.Fields(command) cmd := exec.Command(args[0], args[1:]...) cmd.Dir = p.GetRoot()