Closed jiuka closed 7 years ago
The logic to backtrack to the last non-whitespace on the previous line should also backtrack comments. Otherwise the following example would be generate a warning that the ensure line is indented to fare.
class () { file { 'this': #comment ensure => 'present', } }
Nice catch, thanks! I'll release an updated gem later today.
The logic to backtrack to the last non-whitespace on the previous line should also backtrack comments. Otherwise the following example would be generate a warning that the ensure line is indented to fare.