You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following code triggers the double_quoted_strings warning, but should not. The \s escape sequence is only valid within double-quoted strings, not in single quoted strings, so the type of quotes cannot be changed, and the string may legitimately not contain any variables.
The following code triggers the double_quoted_strings warning, but should not. The
\s
escape sequence is only valid within double-quoted strings, not in single quoted strings, so the type of quotes cannot be changed, and the string may legitimately not contain any variables.Example false positive:
https://github.com/rodjek/puppet-lint/blob/master/lib/puppet-lint/plugins/check_strings/double_quoted_strings.rb#L7 should include
\\s
as an additional case for a valid string to not fail the check.The text was updated successfully, but these errors were encountered: