Skip to content

Commit

Permalink
Fix Style/FormatString
Browse files Browse the repository at this point in the history
  • Loading branch information
denisdefreyne committed Jan 17, 2015
1 parent d445b2e commit a3be5d1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,6 @@ Metrics/MethodLength:
Metrics/PerceivedComplexity:
Max: 9

# Offense count: 1
# Configuration parameters: EnforcedStyle, SupportedStyles.
Style/FormatString:
Enabled: false

# Offense count: 8
# Configuration parameters: AllowedVariables.
Style/GlobalVars:
Expand Down
2 changes: 1 addition & 1 deletion lib/cri/help_renderer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def append_subcommands(text)
# Command
shown_subcommands.sort_by { |cmd| cmd.name }.each do |cmd|
text <<
sprintf(
format(
" %-#{length + 4}s %s\n",
fmt.format_as_command(cmd.name, @io),
cmd.summary)
Expand Down

0 comments on commit a3be5d1

Please sign in to comment.