Skip to content

Commit

Permalink
feat: 提升包大小显示精度
Browse files Browse the repository at this point in the history
  • Loading branch information
tinyc-z committed Aug 29, 2017
1 parent 1396580 commit edc6ee3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/parsers/pkg_adapter/base_adapter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def tmp_dir
end

def app_size_mb
'%.1f' % (app_size / (1024*1024.0))
'%.2f' % (app_size / (1024*1024.0))
end

end
Expand Down

0 comments on commit edc6ee3

Please sign in to comment.