summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTony Tsang <tony@tcnhk.com>2014-10-14 17:31:35 +0800
committerTony Tsang <tony@tcnhk.com>2014-10-14 17:31:35 +0800
commite0f945959e435c3d37e5c7014fc982084daa8c15 (patch)
treee741e364627c57e10aafb6b09f6f730344c229c1
parent885833892f122de8e427ac290c41c1f4d26bf7a8 (diff)
downloadgitea-e0f945959e435c3d37e5c7014fc982084daa8c15.tar.gz
gitea-e0f945959e435c3d37e5c7014fc982084daa8c15.zip
Replace white spaces with tab for format consistency
-rw-r--r--models/action.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/models/action.go b/models/action.go
index 2fb0771071..334d143d2c 100644
--- a/models/action.go
+++ b/models/action.go
@@ -154,8 +154,8 @@ func updateIssuesCommit(userId, repoId int64, repoUserName, repoName string, com
if err = UpdateIssue(issue); err != nil {
return err
} else if err = UpdateIssueUserPairsByStatus(issue.Id, issue.IsClosed); err != nil {
- return err
- }
+ return err
+ }
if err = ChangeMilestoneIssueStats(issue); err != nil {
return err