Skip to content

Commit

Permalink
cmake: fix bug in generated runners.yaml
Browse files Browse the repository at this point in the history
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 zephyrproject-rtos#24215

Signed-off-by: Håkon Øye Amundsen <haakon.amundsen@nordicsemi.no>
  • Loading branch information
hakonfam authored and avisconti committed Apr 15, 2020
1 parent e364515 commit a69ef6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/flash/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit a69ef6c

Please sign in to comment.