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