summaryrefslogtreecommitdiff
path: root/tasks
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-04-29 18:26:33 -0700
committerTim Smith <tsmith84@gmail.com>2020-04-29 18:26:33 -0700
commit5519f83f60c7a1ba9393121788cba476da81ce6c (patch)
treed66b96f5a1cf4b0205520d804926d8e704ea6d92 /tasks
parent8f78297684c6c000ddd5d5e7f925ab1da654019d (diff)
downloadchef-5519f83f60c7a1ba9393121788cba476da81ce6c.tar.gz
Sort the list of actions when generating docs
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'tasks')
-rwxr-xr-xtasks/docs.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tasks/docs.rb b/tasks/docs.rb
index 15ca1c61c8..d5fd653591 100755
--- a/tasks/docs.rb
+++ b/tasks/docs.rb
@@ -160,7 +160,7 @@ namespace :docs_site do
#
def action_list(actions)
list = {}
- actions.each do |action|
+ actions.sort.each do |action|
# skip it so we can make it the last value later
next if action == "nothing"