Skip to content

Commit

Permalink
revert uneeded rubocop change
Browse files Browse the repository at this point in the history
  • Loading branch information
dturn committed Aug 20, 2019
1 parent 692b5c8 commit 7754389
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/kubernetes-deploy/options_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def default_template_dir(template_dir)
template_dir = File.join("config", "deploy", ENV['ENVIRONMENT'])
end

if template_dir.blank?
if !template_dir || template_dir.empty?
raise OptionsError, "Template directory is unknown. " \
"Either specify --template-dir argument or set $ENVIRONMENT to use config/deploy/$ENVIRONMENT " \
"as a default path."
Expand Down

0 comments on commit 7754389

Please sign in to comment.