feat(patterns): improve error messaging and clean up help-table comments
This commit is contained in:
2 files changed
+4
-3
No files matched your search
+4
-1
@@ -36,7 +36,10 @@ Check the first param and exit if it is empty.
|
||||
|
||||
```bash
|
||||
deploy() {
|
||||
if [[ -z "$1" ]]; then echo "\$1 is empty."; exit; fi
|
||||
if [[ -z "$1" ]]; then
|
||||
echo '$1/path is empty.'
|
||||
exit
|
||||
fi
|
||||
```
|
||||
|
||||
## Prompt for input
|
||||
|
||||
Reference in new issue
Block a user