Skip to content

Append a newline to config files if needed#3139

Merged
joguSD merged 1 commit intoaws:developfrom
joguSD:credentials-newline
Apr 14, 2022
Merged

Append a newline to config files if needed#3139
joguSD merged 1 commit intoaws:developfrom
joguSD:credentials-newline

Conversation

@joguSD
Copy link
Copy Markdown
Contributor

@joguSD joguSD commented Feb 8, 2018

Fixes #2996

This will check if the config file ends in a newline, if not it appends one before writing a new section to avoid writing an invalid config file. This pretty much only happens on windows.

@codecov-io
Copy link
Copy Markdown

codecov-io commented Feb 8, 2018

Codecov Report

Merging #3139 into develop will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #3139      +/-   ##
===========================================
+ Coverage    97.09%   97.09%   +<.01%     
===========================================
  Files          406      406              
  Lines        33362    33376      +14     
===========================================
+ Hits         32394    32408      +14     
  Misses         968      968
Impacted Files Coverage Δ
tests/unit/customizations/configure/test_writer.py 99% <100%> (+0.03%) ⬆️
awscli/customizations/configure/writer.py 99.13% <100%> (+0.09%) ⬆️

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 9a17e4e...0a40605. Read the comment docs.

@kyleknap
Copy link
Copy Markdown
Contributor

kyleknap commented Feb 9, 2018

Let's try to get codecov passing.

@joguSD joguSD force-pushed the credentials-newline branch 2 times, most recently from e8e41bb to 0a40605 Compare February 12, 2018 18:16
@joguSD joguSD added pr:needs-review This PR needs a review from a Member. and removed changes-requested labels Feb 12, 2018
@browndp08
Copy link
Copy Markdown

Any reason this hasn't been merged yet?

@LukeBalizetPatriot
Copy link
Copy Markdown

Ping?

@J00MZ
Copy link
Copy Markdown

J00MZ commented Feb 9, 2022

why was it not merged?

thoward-godaddy pushed a commit to thoward-godaddy/aws-cli that referenced this pull request Feb 12, 2022
) (aws#3139)

Co-authored-by: Mehmet Nuri Deveci <5735811+mndeveci@users.noreply.github.com>
Co-authored-by: Sriram Madapusi Vasudevan <3770774+sriram-mv@users.noreply.github.com>
Co-authored-by: Jacob Fuss <32497805+jfuss@users.noreply.github.com>
@joguSD joguSD force-pushed the credentials-newline branch from 0a40605 to 87cdf0d Compare April 14, 2022 16:48
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Apr 14, 2022

Codecov Report

Merging #3139 (87cdf0d) into develop (e7a29fd) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff            @@
##           develop    #3139   +/-   ##
========================================
  Coverage    92.85%   92.85%           
========================================
  Files          204      204           
  Lines        16298    16310   +12     
========================================
+ Hits         15133    15145   +12     
  Misses        1165     1165           
Impacted Files Coverage Δ
awscli/customizations/configure/writer.py 99.13% <100.00%> (+0.09%) ⬆️
awscli/customizations/emr/helptext.py 100.00% <0.00%> (ø)
awscli/customizations/emr/describecluster.py 93.61% <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 e7a29fd...87cdf0d. Read the comment docs.

@joguSD joguSD requested review from stealthycoin and removed request for jamesls April 14, 2022 17:02
Copy link
Copy Markdown
Contributor

@kyleknap kyleknap left a comment

Choose a reason for hiding this comment

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

🚢

@joguSD joguSD force-pushed the credentials-newline branch from 9a1d9e3 to 4e6fe0b Compare April 14, 2022 17:34
@joguSD joguSD merged commit 1a83cf7 into aws:develop Apr 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

configuration contribution:core This is a PR that came from AWS. pr:needs-review This PR needs a review from a Member.

Projects

None yet

9 participants