bin/_include in markdown_helper-1.6.0 vs bin/_include in markdown_helper-1.6.1
- old
+ new
@@ -37,13 +37,11 @@
exit
end
parser.parse!
-template_file_path, markdown_file_path = ARGV
+_, template_file_path, markdown_file_path = ARGV
-usage(opts) unless ARGV.size == 2
+usage(opts) unless ARGV.size == 3
usage(opts) unless File.readable?(template_file_path)
-usage(opts) unless File.writable?(File.dirname(markdown_file_path))
MarkdownHelper.new(options).include(template_file_path, markdown_file_path)
-