let script mode be one-shot

This commit is contained in:
alfred 2021-07-25 13:20:47 +08:00
parent 93d312d49b
commit 7c6605f49d

View File

@ -71,7 +71,10 @@ class App
Log::error($error_msg); Log::error($error_msg);
// Notice::push('error', $error_msg); // Notice::push('error', $error_msg);
} }
if ($dir == 'Plugin')
yield call_user_func(array("BiliHelper\\$dir\\" . $taskName, 'Delayed'), []); yield call_user_func(array("BiliHelper\\$dir\\" . $taskName, 'Delayed'), []);
else
break;
} }
}); });
} }