Merge branch '3.0-stable'
Conflicts: README.md
This commit is contained in:
commit
bb2f40cc72
3 changed files with 11 additions and 4 deletions
|
@ -72,8 +72,9 @@ module Middleman::CoreExtensions
|
|||
@cache.delete(path)
|
||||
end
|
||||
|
||||
YAML_ERRORS = [ Exception, ArgumentError ]
|
||||
YAML_ERRORS = [ StandardError ]
|
||||
|
||||
# https://github.com/tenderlove/psych/issues/23
|
||||
if defined?(Psych) && defined?(Psych::SyntaxError)
|
||||
YAML_ERRORS << Psych::SyntaxError
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue