Fix RuboCop failures.
This commit is contained in:
parent
38b18ac252
commit
dd50714d1e
@ -56,7 +56,7 @@ Metrics/ClassLength:
|
||||
Max: 1400
|
||||
Metrics/CyclomaticComplexity:
|
||||
Enabled: true
|
||||
Max: 75
|
||||
Max: 85
|
||||
Metrics/MethodLength:
|
||||
Enabled: true
|
||||
Max: 300
|
||||
|
||||
@ -614,7 +614,7 @@ class GitDownloadStrategy < VCSDownloadStrategy
|
||||
super
|
||||
@ref_type ||= :branch
|
||||
@ref ||= "master"
|
||||
@shallow = meta.fetch(:shallow) { true }
|
||||
@shallow = meta.fetch(:shallow, true)
|
||||
end
|
||||
|
||||
def source_modified_time
|
||||
|
||||
@ -32,7 +32,7 @@ module OS
|
||||
end
|
||||
|
||||
def to_sym
|
||||
SYMBOLS.invert.fetch(@version) { :dunno }
|
||||
SYMBOLS.invert.fetch(@version, :dunno)
|
||||
end
|
||||
|
||||
def pretty_name
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user