Skip to content

Commit 282322e

Browse files
committed
fix warning in "coderay stylesheet" command
1 parent 316f071 commit 282322e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/coderay

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ when 'li', 'list'
197197
end
198198
end
199199
when 'stylesheet', 'style', 'css'
200-
puts CodeRay::Encoders[:html]::CSS.new(args.first).stylesheet
200+
puts CodeRay::Encoders[:html]::CSS.new(args.first || :default).stylesheet
201201
when 'commands'
202202
commands
203203
when 'help'

0 commit comments

Comments
 (0)