lib/jazzy/config.rb in jazzy-0.12.0 vs lib/jazzy/config.rb in jazzy-0.13.0
- old
+ new
@@ -174,10 +174,10 @@
config_attr :sourcekitten_sourcefile,
command_line: ['-s', '--sourcekitten-sourcefile filepath1,…filepathN',
Array],
description: 'File(s) generated from sourcekitten output to parse',
- parse: ->(paths) { paths.map { |path| expand_path(path) } }
+ parse: ->(paths) { [paths].flatten.map { |path| expand_path(path) } }
config_attr :source_directory,
command_line: '--source-directory DIRPATH',
description: 'The directory that contains the source to be documented',
default: Pathname.pwd,