Skip to content

Commit fee4b48

Browse files
author
Alan Donovan
authored
Merge pull request cli#102 from github/fix-12
remove sleep 1s in ssh subcommand
2 parents dc40d99 + ea97e2e commit fee4b48

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

cmd/ghcs/ssh.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import (
66
"fmt"
77
"os"
88
"strings"
9-
"time"
109

1110
"github.com/github/ghcs/api"
1211
"github.com/github/ghcs/cmd/ghcs/output"
@@ -155,8 +154,6 @@ func setupSSH(ctx context.Context, logger *output.Logger, terminal *liveshare.Te
155154
return fmt.Errorf("error closing stream: %v", err)
156155
}
157156

158-
time.Sleep(1 * time.Second)
159-
160157
return nil
161158
}
162159

0 commit comments

Comments
 (0)