rubocop: fix over tabbed variable assignment

This commit is contained in:
Anatoliy Yastreb 2016-05-27 13:59:18 +03:00
parent d5d2fd8674
commit 22982ef79e
1 changed files with 6 additions and 5 deletions

View File

@ -93,7 +93,8 @@ end
# #
Given(/^I have a configuration file with "(.*)" set to "(.*)"$/) do |key, value| Given(/^I have a configuration file with "(.*)" set to "(.*)"$/) do |key, value|
config = if source_dir.join("_config.yml").exist? config = \
if source_dir.join("_config.yml").exist?
SafeYAML.load_file(source_dir.join("_config.yml")) SafeYAML.load_file(source_dir.join("_config.yml"))
else else
{} {}