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 handling of service outputs in modern logs #10100

Merged
merged 1 commit into from Oct 15, 2021

Conversation

medikoo
Copy link
Contributor

@medikoo medikoo commented Oct 15, 2021

At first I've tried to keep general stack info outside of addServiceOutputSection interface, still it doesn't work will with eventual extensions added by the plugins, e.g. it resulted with dashboard URL put in the middle of table, where it should stay at the top. This patch ensures expected order

@codecov
Copy link

codecov bot commented Oct 15, 2021

Codecov Report

Merging #10100 (840b500) into master (f4163d2) will increase coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #10100      +/-   ##
==========================================
+ Coverage   85.39%   85.41%   +0.01%     
==========================================
  Files         334      334              
  Lines       13604    13608       +4     
==========================================
+ Hits        11617    11623       +6     
+ Misses       1987     1985       -2     
Impacted Files Coverage Δ
lib/plugins/aws/info/display.js 75.67% <100.00%> (+1.14%) ⬆️
lib/plugins/aws/info/index.js 97.14% <100.00%> (-0.08%) ⬇️
lib/Serverless.js 69.46% <0.00%> (+0.44%) ⬆️
lib/cli/write-service-outputs.js 100.00% <0.00%> (+16.66%) ⬆️

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 f4163d2...840b500. Read the comment docs.

@medikoo medikoo requested a review from pgrzesik October 15, 2021 08:35
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 great 👍

@medikoo medikoo merged commit 7d19ca8 into master Oct 15, 2021
@medikoo medikoo deleted the 1015-fix-info-summary-in-modern-logs branch October 15, 2021 08:57
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

2 participants