mirror of
https://github.com/red-data-tools/YouPlot.git
synced 2025-05-05 22:31:11 +08:00
Rubocop auto correct
This commit is contained in:
parent
83b1da9b96
commit
f9ffca636f
@ -50,11 +50,11 @@ module YouPlot
|
|||||||
def find_config_file
|
def find_config_file
|
||||||
config_file_candidate_paths.each do |file|
|
config_file_candidate_paths.each do |file|
|
||||||
path = File.expand_path(file)
|
path = File.expand_path(file)
|
||||||
if File.exist?(path)
|
next unless File.exist?(path)
|
||||||
@config_file = path
|
|
||||||
ENV['MYYOUPLOTRC'] = path
|
@config_file = path
|
||||||
return @config_file
|
ENV['MYYOUPLOTRC'] = path
|
||||||
end
|
return @config_file
|
||||||
end
|
end
|
||||||
nil
|
nil
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user