Skip to content

Commit 8e8853e

Browse files
committed
Fix trailing comma crash with Ruby 1.8.
Fixes #460
1 parent 0c87c41 commit 8e8853e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/jsduck/options.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -726,7 +726,7 @@ def create_option_parser
726726
"be cleaned up during docs generation, and the caching",
727727
"won't work.",
728728
"",
729-
"This option only has an effect when --cache is also used.",) do |path|
729+
"This option only has an effect when --cache is also used.") do |path|
730730
@cache_dir = path
731731
end
732732

0 commit comments

Comments
 (0)