Merge pull request #102 from github/fix-12

remove sleep 1s in ssh subcommand
This commit is contained in:
Alan Donovan 2021-08-31 09:20:35 -04:00 committed by GitHub
commit fee4b484ea

View file

@ -6,7 +6,6 @@ import (
"fmt"
"os"
"strings"
"time"
"github.com/github/ghcs/api"
"github.com/github/ghcs/cmd/ghcs/output"
@ -155,8 +154,6 @@ func setupSSH(ctx context.Context, logger *output.Logger, terminal *liveshare.Te
return fmt.Errorf("error closing stream: %v", err)
}
time.Sleep(1 * time.Second)
return nil
}