fix syntax

This commit is contained in:
Ivan Lee 2025-07-30 16:55:57 +08:00
parent 43ae0453aa
commit 817eaec872
2 changed files with 15 additions and 0 deletions

View File

@ -229,6 +229,9 @@ check_failed_jobs() {
fi
done
}
# Collect results
collect_results() {
local symbol=${1:-"*"}
local date=${2:-$(date +%Y-%m-%d)}

12
test_main.sh Executable file
View File

@ -0,0 +1,12 @@
#!/bin/bash
main() {
case "$1" in
"test")
echo "test works"
;;
*)
echo "unknown command"
;;
esac
}
main "$@"