Changing order of @always tasks

This commit is contained in:
Pavel Shevaev 2022-05-18 10:31:38 +03:00
parent 3d54e2caf6
commit 84a43f8537
1 changed files with 1 additions and 1 deletions

View File

@ -271,7 +271,7 @@ function taskman_run($argv = array(), $help_func = null, $proc_argv = true)
foreach(taskman_gettasks() as $task_obj) foreach(taskman_gettasks() as $task_obj)
{ {
if($task_obj->hasProp('always')) if($task_obj->hasProp('always'))
$always_tasks[] = $task_obj; array_unshift($always_tasks, $task_obj);
if($task_obj->hasProp('default')) if($task_obj->hasProp('default'))
{ {
if($default_task) if($default_task)