Better config file parser error if it's not there.
This commit is contained in:
parent
51706e8da7
commit
1e32af47a6
|
@ -106,7 +106,7 @@ module Jekyll
|
||||||
when /\.y(a)?ml/
|
when /\.y(a)?ml/
|
||||||
YAML.safe_load_file(filename)
|
YAML.safe_load_file(filename)
|
||||||
else
|
else
|
||||||
raise ArgumentError, "No parser for '#{filename}' is available."kk
|
raise ArgumentError, "No parser for '#{filename}' is available. Use a .toml or .y(a)ml file instead."
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue