Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Raise error if no config file is passed to --config

  • Loading branch information...
commit daf33e5a6b8ad765aa11e0898382f91e44148727 1 parent 30acc87
@parkr parkr authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  bin/jekyll
View
1  bin/jekyll
@@ -51,6 +51,7 @@ opts = OptionParser.new do |opts|
opts.on("--config [PATH]", "custom configuration file" ) do |config_file|
+ raise "You must specify a config file." if config_file.to_s.empty?
options['config'] = config_file
end
Please sign in to comment.
Something went wrong with that request. Please try again.