Skip to content

Commit

Permalink
#5 get rid of useless error check in Clone().
Browse files Browse the repository at this point in the history
  • Loading branch information
petr-korobeinikov committed Jan 15, 2021
1 parent 05e7abf commit bbd7685
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions internal/clone.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,5 @@ func Clone(scmBin, scmUrl, scmWorkingCopyPath string) error {
scmCmd.Stdout = os.Stdout
scmCmd.Stderr = os.Stderr

if err := scmCmd.Run(); err != nil {
return err
}

return nil
return scmCmd.Run()
}

0 comments on commit bbd7685

Please sign in to comment.