Skip to content

Commit 0456a10

Browse files
authored
fix: allow usage as formatter (#129)
1 parent ede5dae commit 0456a10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/syntax_tree/rbs.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def force_parens?
4141
end
4242

4343
class << self
44-
def format(source, maxwidth = 80)
44+
def format(source, maxwidth = 80, _options = {})
4545
formatter = Formatter.new(source, [], maxwidth)
4646
parse(source).format(formatter)
4747

0 commit comments

Comments
 (0)