puppet-lint's parser currently does not include single-quoted strings in title_tokens when they're enclosed in an array.
For example, if the Puppet code is:
class module::class {
file { ['sstring_1', 'sstring_2']:
ensure => file,
}
}
title_tokens is nil
I've narrowed the problem down to the title_tokens method in data.rb:
:SSTRING => true just needs to be added to the hash on line 146.
I would create a PR but I don't have permission to contribute.
Thanks!
puppet-lint's parser currently does not include single-quoted strings in title_tokens when they're enclosed in an array.
For example, if the Puppet code is:
title_tokens is nil
I've narrowed the problem down to the
title_tokensmethod indata.rb::SSTRING => truejust needs to be added to the hash on line 146.I would create a PR but I don't have permission to contribute.
Thanks!