This commit is contained in:
Akira Matsuda 2016-10-12 07:48:25 +09:00
parent c146d14c32
commit ceaae5861d
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ BANNER
def copy_or_fetch #:nodoc:
return copy_default_views if file_name == 'default'
if theme = self.class.themes.detect {|t| t.name == file_name}
if (theme = self.class.themes.detect {|t| t.name == file_name})
if download_templates(theme).empty?
say "template_engine: #{template_engine} is not available for theme: #{file_name}"
end