lib/reveal-ck/templates/finder.rb in reveal-ck-3.3.0 vs lib/reveal-ck/templates/finder.rb in reveal-ck-3.3.1
- old
+ new
@@ -25,10 +25,10 @@
glob_pattern = "#{File.join(path, template_name)}*"
Dir.glob(glob_pattern).each do |match|
return match unless File.directory? match
end
end
- fail "Unable to find #{template_name} in #{paths}"
+ raise "Unable to find #{template_name} in #{paths}"
end
end
end
end