Skip to content

Commit a0201b4

Browse files
iNecasares
authored andcommitted
Sort tasks by name
1 parent ed06aaa commit a0201b4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

task_runner.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ def run_tasks
1818
tasks = Dir.glob('tasks/*.rb')
1919
tasks = tasks.select { |t| profile.whitelist.include?(task_name(t)) } if profile.whitelist
2020
tasks = tasks.reject { |t| profile.blacklist.include?(task_name(t)) } if profile.blacklist
21+
tasks.sort!
2122
end
2223

2324
tasks.each do |task|

0 commit comments

Comments
 (0)