Changing order of @always tasks
This commit is contained in:
parent
3d54e2caf6
commit
84a43f8537
|
@ -271,7 +271,7 @@ function taskman_run($argv = array(), $help_func = null, $proc_argv = true)
|
|||
foreach(taskman_gettasks() as $task_obj)
|
||||
{
|
||||
if($task_obj->hasProp('always'))
|
||||
$always_tasks[] = $task_obj;
|
||||
array_unshift($always_tasks, $task_obj);
|
||||
if($task_obj->hasProp('default'))
|
||||
{
|
||||
if($default_task)
|
||||
|
|
Loading…
Reference in New Issue