Skip to content

Commit 46b2a52

Browse files
committed
fixed inverted no-ssh check
1 parent 66a7783 commit 46b2a52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

service/service.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ func Initialise(ctx context.Context, c Config) (app *App, err error) {
4949
app.ctx, app.cancel = context.WithCancel(ctx)
5050
app.config = c
5151

52-
if c.NoSSH {
52+
if !c.NoSSH {
5353
app.ssh, err = ssh.NewSSHAgentAuth("git")
5454
if err != nil {
5555
return nil, errors.Wrap(err, "failed to set up SSH authentication")

0 commit comments

Comments
 (0)