File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -15,8 +15,10 @@ def expanded_list
15
15
16
16
private
17
17
18
+ attr_reader :builds_config , :include_paths
19
+
18
20
def absolute_include_paths
19
- @ include_paths. map { |path | to_absolute_path ( path ) } . compact
21
+ include_paths . map { |path | to_absolute_path ( path ) } . compact
20
22
end
21
23
22
24
def to_absolute_path ( path )
@@ -31,7 +33,7 @@ def find_target_files(path)
31
33
end
32
34
33
35
def target_finder
34
- @target_finder ||= RuboCop ::TargetFinder . new ( @ builds_config. rubocop_config_store )
36
+ @_target_finder ||= RuboCop ::TargetFinder . new ( builds_config . rubocop_config_store )
35
37
end
36
38
end
37
39
end
Original file line number Diff line number Diff line change @@ -38,15 +38,15 @@ def run
38
38
attr_reader :root , :engine_config , :io
39
39
40
40
def files_to_inspect
41
- @files_to_inspect ||= FileListResolver . new (
41
+ @_files_to_inspect ||= FileListResolver . new (
42
42
builds_config : builds_config ,
43
43
engine_config : engine_config ,
44
44
root : root
45
45
) . expanded_list
46
46
end
47
47
48
48
def builds_config
49
- @builds_config ||= ::Standard ::BuildsConfig . new . call ( [ ] )
49
+ @_builds_config ||= ::Standard ::BuildsConfig . new . call ( [ ] )
50
50
end
51
51
end
52
52
end
You can’t perform that action at this time.
0 commit comments