-
Notifications
You must be signed in to change notification settings - Fork 1.8k
SC1055
Joachim Ansorg edited this page Oct 31, 2022
·
2 revisions
submitbug() {
# TODO: Implement me
}
submitbug() {
# TODO: Implement me
true
}
ShellCheck found an empty code block. This could be an empty function as shown, a loop with an empty body, or similar.
Sh/bash does not allow empty code blocks. Insert at least one command. If you don't want the block to do anything, true
(aka :
) is a good no-op.
None