Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 335 Bytes

oelint.task.multifragments.md

File metadata and controls

27 lines (20 loc) · 335 Bytes

oelint.task.multifragments

severity: info

Example

do_install:append() {
    a
}
do_install:append() {
    b
}

Why is this bad?

Multiple appends, removes, prepends, a.s.o. should be merged into a single append, remove, prepend for better readability.

Ways to fix it

do_install:append() {
    a
    b
}