From 7b0f65f5f5486f5e32f749826744929813734e24 Mon Sep 17 00:00:00 2001 From: ferhat elmas Date: Mon, 7 Nov 2016 20:32:00 +0100 Subject: gofmt simplify (#111) --- clients/ssh/git_upload_pack.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clients') diff --git a/clients/ssh/git_upload_pack.go b/clients/ssh/git_upload_pack.go index e172f1f..d53dc63 100644 --- a/clients/ssh/git_upload_pack.go +++ b/clients/ssh/git_upload_pack.go @@ -309,7 +309,7 @@ func (f *fetchSession) Close() (err error) { func (s *GitUploadPackService) getCommand() string { directory := s.endpoint.Path - directory = directory[1:len(directory)] + directory = directory[1:] return fmt.Sprintf("git-upload-pack '%s'", directory) } -- cgit