Skip to content
This repository was archived by the owner on Sep 11, 2020. It is now read-only.

Commit 9d2e123

Browse files
committed
repository: fixing var assignment. [Fixes #741]
Signed-off-by: Bartek Jaroszewski <[email protected]>
1 parent bbbb2eb commit 9d2e123

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

repository.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ func PlainCloneContext(ctx context.Context, path string, isBare bool, o *CloneOp
356356
return nil, err
357357
}
358358

359-
err := r.clone(ctx, o)
359+
err = r.clone(ctx, o)
360360
if err != nil && err != ErrRepositoryAlreadyExists {
361361
os.RemoveAll(path)
362362
return nil, err

0 commit comments

Comments
 (0)