Commit 62cf1104 authored by Giorgenes Gelatti's avatar Giorgenes Gelatti

Fix rubocop rules in conan file

parent e727e95e
......@@ -125,7 +125,7 @@ module API
end
def track_push_package_event
if params[:file_name] == ::Packages::Conan::FileMetadatum::PACKAGE_BINARY && params['file.size'].positive?
if params[:file_name] == ::Packages::Conan::FileMetadatum::PACKAGE_BINARY && params['file.size'] > 0
track_event('push_package')
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment