修复task运行参数合并

This commit is contained in:
whyour 2021-05-10 11:13:33 +08:00
parent a192767389
commit fa3d73ac9a

View File

@ -102,7 +102,6 @@ run_normal() {
local p1=$1
cd $dir_scripts
define_program "$p1"
combine_all
if [[ $p1 == *.js ]]; then
if [[ $AutoHelpOther == true ]] && [[ $(ls $dir_code) ]]; then
local latest_log=$(ls -r $dir_code | head -1)
@ -112,6 +111,7 @@ run_normal() {
random_delay
fi
fi
combine_all
log_time=$(date "+%Y-%m-%d-%H-%M-%S")
log_dir="$dir_log/${p1%%.*}"
log_path="$log_dir/$log_time.log"