File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -348,6 +348,7 @@ def is_attribute(self, ast: Any) -> bool:
348
348
has_variable ,
349
349
)
350
350
a .line = ChefParser ._get_content_bounds (ast , self .source )[0 ]
351
+ a .column = ChefParser ._get_content_bounds (ast , self .source )[1 ]
351
352
a .code = ChefParser ._get_source (ast , self .source )
352
353
self .atomic_unit .add_attribute (a )
353
354
elif isinstance (ast , (ChefParser .Node , list )):
@@ -368,6 +369,7 @@ def create_variable(
368
369
):
369
370
variable = Variable (name , value , has_variable )
370
371
variable .line = ChefParser ._get_content_bounds (key , self .source )[0 ]
372
+ variable .column = ChefParser ._get_content_bounds (key , self .source )[1 ]
371
373
variable .code = ChefParser ._get_source (ast , self .source )
372
374
return variable
373
375
You can’t perform that action at this time.
0 commit comments