修复删除临时脚本列表文件

This commit is contained in:
whyour 2021-05-12 23:01:16 +08:00
parent 4abefccc5b
commit d2c1cb5779
2 changed files with 1 additions and 4 deletions

View File

@ -293,7 +293,7 @@ gen_list_repo() {
local path="$3" local path="$3"
local blackword="$4" local blackword="$4"
local dependence="$5" local dependence="$5"
rm -f $dir_list_tmp/own*.list >/dev/null 2>&1 rm -f $dir_list_tmp/${author}*.list >/dev/null 2>&1
cd ${repo_path} cd ${repo_path}
files=$(find . -name "*.js" | sed 's/^..//') files=$(find . -name "*.js" | sed 's/^..//')

View File

@ -496,9 +496,6 @@ const Crontab = () => {
}) })
.then((data: any) => { .then((data: any) => {
if (data.code === 200) { if (data.code === 200) {
notification.success({
message: `批量${OperationName[operationStatus]}成功`,
});
getCrons(); getCrons();
} else { } else {
notification.error({ notification.error({