Remove redundant syntax (#2111)

Either use the `function` or `()` but not both, it's redundant.
This commit is contained in:
Tamas Papp 2024-03-15 14:26:36 +01:00 committed by GitHub
parent 46907176f9
commit dc066dc18f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -328,7 +328,7 @@ myfunc() {
```bash
# Same as above (alternate syntax)
function myfunc() {
function myfunc {
echo "hello $1"
}
```