summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts/latexindent/LatexIndent/Logger.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/scripts/latexindent/LatexIndent/Logger.pm')
-rw-r--r--Master/texmf-dist/scripts/latexindent/LatexIndent/Logger.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/Master/texmf-dist/scripts/latexindent/LatexIndent/Logger.pm b/Master/texmf-dist/scripts/latexindent/LatexIndent/Logger.pm
index d3f9d0f48df..ebad76a2d51 100644
--- a/Master/texmf-dist/scripts/latexindent/LatexIndent/Logger.pm
+++ b/Master/texmf-dist/scripts/latexindent/LatexIndent/Logger.pm
@@ -26,6 +26,7 @@ our @logFileLines;
sub info{
my $self = shift;
my $logfileline = shift;
+ return unless (defined $logfileline);
if ($logfileline =~ m/^\*/s){
$logfileline =~ s/^\*/INFO: /s;
$logfileline =~ s/^/ /mg;