Commit cf72f4e
fix: Handle missing arguments gracefully in mypy-daemon.sh
Use ${1:-} instead of $1 to avoid error with set -u when no
arguments are provided. This allows the script to show the
usage message instead of erroring on the case statement.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent c69a5c8 commit cf72f4e
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
0 commit comments