File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,9 @@ Metrics/PerceivedComplexity: { Exclude: [lib/bashly/config_validator.rb] }
19
19
Metrics/MethodLength : { Exclude: [lib/bashly/config_validator.rb] }
20
20
Style/GuardClause : { Exclude: [lib/bashly/config_validator.rb] }
21
21
22
+ # FIXME: The `Command` class is too long
23
+ Metrics/ClassLength : { Exclude: [lib/bashly/script/command.rb] }
24
+
22
25
# Allow irregular filenames in some cases
23
26
RSpec/FilePath :
24
27
Exclude :
Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ def completion_data(command_full_name)
9
9
comps = allowed || completions
10
10
return { } unless comps
11
11
12
-
13
12
aliases . to_h do |name |
14
13
prefix = command_full_name
15
14
prefix = "#{ prefix } *" unless prefix . end_with? '*'
You can’t perform that action at this time.
0 commit comments