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

to fix the format option issue #786

Merged
merged 3 commits into from
Nov 6, 2023

Conversation

showjason
Copy link
Contributor

#773
I see the subcommand format supports multiple secret key-like options whose value will contain = most likely, therefore I try to use SplitN to split the options to fixed length 2, so that the = in the value can be ignored. If it's not reasonable, please let me know

@zwwhdls
Copy link
Member

zwwhdls commented Nov 3, 2023

Hi @showjason , please fix the unit test. thx!

@showjason
Copy link
Contributor Author

Hi @showjason , please fix the unit test. thx!

Ah...sorry, I missed some particular cases, let me fix.

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (87cdb53) 36.72% compared to head (a56203d) 36.75%.
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #786      +/-   ##
==========================================
+ Coverage   36.72%   36.75%   +0.02%     
==========================================
  Files          36       36              
  Lines        4351     4353       +2     
==========================================
+ Hits         1598     1600       +2     
  Misses       2605     2605              
  Partials      148      148              
Files Coverage Δ
pkg/config/setting.go 76.44% <100.00%> (+0.19%) ⬆️

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@zwwhdls
Copy link
Member

zwwhdls commented Nov 6, 2023

/lgtm

@zwwhdls zwwhdls requested a review from Hexilee November 6, 2023 07:59
@zwwhdls
Copy link
Member

zwwhdls commented Nov 6, 2023

@Hexilee PTAL

@Hexilee Hexilee merged commit c988c2a into juicedata:master Nov 6, 2023
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants