Fix new rubocop warnings

This commit is contained in:
Tom Hughes 2018-03-26 19:00:03 +01:00
parent 6fba59724a
commit 1f2ac59d1d
18 changed files with 56 additions and 53 deletions

View file

@ -1,5 +1,5 @@
require "yaml"
if File.exist?(piwik_file = File.expand_path("../../piwik.yml", __FILE__))
if File.exist?(piwik_file = File.expand_path("../piwik.yml", __dir__))
PIWIK = YAML.load_file(piwik_file)
end