mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 19:29:44 +08:00
I followed the quick fix link from VS Code and was prompted to Create a new page.
16
SC2113.md
Normal file
16
SC2113.md
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
Instead of
|
||||||
|
|
||||||
|
``` sh
|
||||||
|
function quit {
|
||||||
|
exit
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
...add the parenthesis to the function name and remove the word "function":
|
||||||
|
|
||||||
|
``` sh
|
||||||
|
quit() {
|
||||||
|
exit
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
Reference in New Issue
Block a user