Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit e4c8dfd

Browse files
eileencodeskddnewton
authored andcommitted
remove kwargs from indent
1 parent 4a05ca0 commit e4c8dfd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/syntax_tree/prism/prettier_print.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ def type
173173
class Indent
174174
attr_reader :contents
175175

176-
def initialize(contents: [])
176+
def initialize(contents)
177177
@contents = contents
178178
end
179179

@@ -824,7 +824,7 @@ def if_flat
824824
# node are determined by the block.
825825
def indent
826826
contents = []
827-
doc = Indent.new(contents: contents)
827+
doc = Indent.new(contents)
828828
target << doc
829829

830830
with_target(contents) { yield }

0 commit comments

Comments
 (0)