Skip to content

Commit 803aebb

Browse files
committed
rubocop
1 parent ee50480 commit 803aebb

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.rubocop.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ Metrics/PerceivedComplexity: { Exclude: [lib/bashly/config_validator.rb] }
1919
Metrics/MethodLength: { Exclude: [lib/bashly/config_validator.rb] }
2020
Style/GuardClause: { Exclude: [lib/bashly/config_validator.rb] }
2121

22+
# FIXME: The `Command` class is too long
23+
Metrics/ClassLength: { Exclude: [lib/bashly/script/command.rb] }
24+
2225
# Allow irregular filenames in some cases
2326
RSpec/FilePath:
2427
Exclude:

lib/bashly/concerns/completions.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ def completion_data(command_full_name)
99
comps = allowed || completions
1010
return {} unless comps
1111

12-
1312
aliases.to_h do |name|
1413
prefix = command_full_name
1514
prefix = "#{prefix}*" unless prefix.end_with? '*'

0 commit comments

Comments
 (0)