cmake: fix bug in generated runners.yaml

If a runner had no args, the format of the generated runners.yaml
was invalid due to missing indentation.

This commit fixes this issue by adding the required indentation.

This fixes issue #24215

Signed-off-by: Håkon Øye Amundsen <haakon.amundsen@nordicsemi.no>
This commit is contained in:
Håkon Øye Amundsen 2020-04-09 08:30:25 +02:00 committed by Carles Cufí
parent ada840a308
commit 42f75fc1a4

View File

@ -73,7 +73,7 @@ function(create_runners_yaml)
endforeach()
else()
# If the runner doesn't need any arguments, just use an empty list.
runner_yml_write(" []\n")
runner_yml_write(" []\n")
endif()
endforeach()