mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 19:29:44 +08:00
Updated SC1048 (markdown)
@@ -17,6 +17,15 @@ then
|
||||
# TODO: handle this
|
||||
true
|
||||
fi
|
||||
|
||||
# Or use the no-op colon operator ":"
|
||||
```sh
|
||||
if [ -e foo ]
|
||||
then
|
||||
# TODO: handle this
|
||||
:
|
||||
fi
|
||||
```
|
||||
```
|
||||
### Rationale:
|
||||
|
||||
|
Reference in New Issue
Block a user