Skip to content

Commit

Permalink
Style/SpecialGlobalVars
Browse files Browse the repository at this point in the history
  • Loading branch information
ggilder committed Feb 16, 2015
1 parent 0f3c14f commit 6a0ed6b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions .rubocop_todo.yml
Expand Up @@ -122,11 +122,6 @@ Style/Not:
Style/RescueModifier:
Enabled: false

# Offense count: 1
# Cop supports --auto-correct.
Style/SpecialGlobalVars:
Enabled: false

# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyleForMultiline, SupportedStyles.
Expand Down
2 changes: 1 addition & 1 deletion lib/commander/runner.rb
Expand Up @@ -282,7 +282,7 @@ def help_formatter_alias_defaults
def program_defaults
{
help_formatter: HelpFormatter::Terminal,
name: File.basename($0),
name: File.basename($PROGRAM_NAME),
}
end

Expand Down

0 comments on commit 6a0ed6b

Please sign in to comment.