Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 366 Bytes

oelint.task.addnotaskbody.md

File metadata and controls

38 lines (26 loc) · 366 Bytes

oelint.task.addnotaskbody

severity: warning

Example

do_foo() {

}
addtask do_foo

Why is this bad?

A task without code is considered illegal syntax.

Ways to fix it

Fill the task with code instructions

do_foo() {
    call some code here
}
addtask do_foo

or add

do_foo() {
    :
}
addtask do_foo

to indicate any empty task