mirror of
https://github.com/whyour/qinglong.git
synced 2026-12-01 01:39:52 +08:00
修复任务执行参数出错
This commit is contained in:
1 parent
bad8bbdb7c
commit
5496689d7c
1 file changed
+1
-1
+1
-1
@@ -195,7 +195,7 @@ main() {
|
||||
;;
|
||||
esac
|
||||
done
|
||||
shift $(($OPTIND - 1))
|
||||
[[ "$show_log" == "true" ]] && shift $(($OPTIND - 1))
|
||||
|
||||
if [[ $1 == *.js ]] || [[ $1 == *.py ]] || [[ $1 == *.sh ]] || [[ $1 == *.ts ]]; then
|
||||
case $# in
|
||||
|
||||
Reference in new issue
Block a user