mirror of
https://github.com/whyour/qinglong.git
synced 2025-07-07 11:56:08 +08:00
修复task参数提示
This commit is contained in:
parent
c77e302874
commit
9d89ecc51e
|
@ -171,10 +171,6 @@ run_else() {
|
|||
main() {
|
||||
if [[ $1 == *.js ]] || [[ $1 == *.py ]] || [[ $1 == *.sh ]] || [[ $1 == *.ts ]]; then
|
||||
case $# in
|
||||
0)
|
||||
echo
|
||||
usage
|
||||
;;
|
||||
1)
|
||||
run_normal $1
|
||||
;;
|
||||
|
@ -195,6 +191,9 @@ main() {
|
|||
run_else "$@"
|
||||
;;
|
||||
esac
|
||||
elif [[ $# -eq 0]]; then
|
||||
echo
|
||||
usage
|
||||
else
|
||||
run_else "$@"
|
||||
fi
|
||||
|
|
|
@ -173,7 +173,6 @@ const Script = () => {
|
|||
lineNumbersMinChars: 3,
|
||||
folding: false,
|
||||
glyphMargin: false,
|
||||
wordWrap: 'on'
|
||||
}}
|
||||
onChange={(val) => {setValue(val as string)}}
|
||||
/>
|
||||
|
|
Loading…
Reference in New Issue
Block a user