Skip to content
Snippets Groups Projects
Commit 49ff3d9c authored by Shinya Maeda's avatar Shinya Maeda
Browse files

Use size.to_i instead of if-condition

parent 526656e6
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -70,7 +70,7 @@ module Ci
end
 
def update_project_statistics_after_destroy
update_project_statistics(-self.size) if self.size
update_project_statistics(-self.size.to_i)
end
 
def update_project_statistics(difference)
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment