test: update condition example description (#8594)
This commit is contained in:
@@ -20,6 +20,6 @@
|
|||||||
|
|
||||||
`test ! -d "{{path/to/directory}}"`
|
`test ! -d "{{path/to/directory}}"`
|
||||||
|
|
||||||
- If-else statement:
|
- If A is true, then do B, or C in the case of an error (notice that C may run even if A fails):
|
||||||
|
|
||||||
`test {{condition}} && {{echo "true"}} || {{echo "false"}}`
|
`test {{condition}} && {{echo "true"}} || {{echo "false"}}`
|
||||||
|
Reference in New Issue
Block a user