Skip to content

Commit

Permalink
Merge pull request #103 from xinminlabs/awesomecode-format-ruby-code-…
Browse files Browse the repository at this point in the history
…59876

Auto corrected by following Format Ruby Code
  • Loading branch information
flyerhzm authored Jan 14, 2024
2 parents fcd881c + 078f310 commit c14d6a9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/synvert/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -143,10 +143,12 @@ def run_option_parser(args)
opts.on '--tab-width TAB_WIDTH', 'prefer tab width, it uses 2 by default' do |tab_width|
Core::Configuration.tab_width = tab_width.to_i
end
opts.on '--loose', 'loose mode, it ignores ruby version and gem version check, it uses strict mode by default' do |_loose|
opts.on '--loose',
'loose mode, it ignores ruby version and gem version check, it uses strict mode by default' do |_loose|
Core::Configuration.strict = false
end
opts.on '--test-result TEST_RESULT', 'result format of test, it can be actions or new_source, action is by default' do |test_result|
opts.on '--test-result TEST_RESULT',
'result format of test, it can be actions or new_source, action is by default' do |test_result|
Core::Configuration.test_result = test_result
end
opts.on '-v', '--version', 'show this version' do
Expand Down

0 comments on commit c14d6a9

Please sign in to comment.