Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI: Improve file size output in logs #10169

Merged
merged 1 commit into from Oct 27, 2021
Merged

CLI: Improve file size output in logs #10169

merged 1 commit into from Oct 27, 2021

Conversation

medikoo
Copy link
Contributor

@medikoo medikoo commented Oct 27, 2021

Decision to apply that was done in context of modern logs, still I think it's not harmful to apply it also to old logs

@codecov
Copy link

codecov bot commented Oct 27, 2021

Codecov Report

Merging #10169 (eb85194) into master (39bdea0) will increase coverage by 0.02%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #10169      +/-   ##
==========================================
+ Coverage   85.35%   85.37%   +0.02%     
==========================================
  Files         337      339       +2     
  Lines       13725    13819      +94     
==========================================
+ Hits        11715    11798      +83     
- Misses       2010     2021      +11     
Impacted Files Coverage Δ
lib/plugins/aws/deployFunction.js 97.04% <100.00%> (ø)
lib/plugins/aws/info/display.js 75.67% <100.00%> (ø)
lib/utils/filesize.js 100.00% <100.00%> (ø)
bin/serverless.js 39.13% <0.00%> (-10.87%) ⬇️
lib/cli/triage.js 90.80% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 39bdea0...eb85194. Read the comment docs.

pgrzesik
pgrzesik previously approved these changes Oct 27, 2021
Copy link
Contributor

@pgrzesik pgrzesik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, great call 👍

Copy link
Contributor

@mnapoli mnapoli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 just a minor comment on one case

test/unit/lib/utils/filesize.test.js Outdated Show resolved Hide resolved
@medikoo medikoo merged commit 4448490 into master Oct 27, 2021
@medikoo medikoo deleted the 1026-filesize branch October 27, 2021 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants