We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e737c8 commit e1a6d77Copy full SHA for e1a6d77
launch_ros/launch_ros/actions/node.py
@@ -373,6 +373,10 @@ def _create_params_file_from_dict(self, params):
373
self.node_name if self.is_node_name_fully_specified() else '/**':
374
{'ros__parameters': params}
375
}
376
+
377
+ def quoted_representor(dumper, data):
378
+ return dumper.represent_scalar('tag:yaml.org,2002:str', data, style='"')
379
+ yaml.add_representer(str, quoted_representor)
380
yaml.dump(param_dict, h, default_flow_style=False)
381
return param_file_path
382
0 commit comments