We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 72fb16a + 47198c1 commit 415afedCopy full SHA for 415afed
lib/puppet-lint.rb
@@ -89,7 +89,7 @@ def file=(path)
89
#
90
# Returns a format String to be used with String#%.
91
def log_format
92
- if configuration.log_format == ''
+ if configuration.log_format.nil? || configuration.log_format.empty?
93
## recreate previous old log format as far as thats possible.
94
format = '%{KIND}: %{message} on line %{line}'
95
format.prepend('%{path} - ') if configuration.with_filename
0 commit comments