Skip to content

False positive on continuing lines #10

@ntnn

Description

@ntnn

Given the following file:

class example {

    $_first = 'example'

    notify { $_first: }

    $_second = $_first
        .regsubst('exam', 'ap')

    notify { $_second: }

}

Expected: No errors
Result: Indent warning on the indented regsubst:

$> puppet-lint ./test.pp
ERROR: example not in autoload module layout on line 1
WARNING: class not documented on line 1
WARNING: indent should be 4 chars and is 8 on line 8

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions