diff options
author | Norbert Preining <norbert@preining.info> | 2023-01-08 03:01:28 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2023-01-08 03:01:28 +0000 |
commit | 7d5553601ccc6f3feed4f9563a6270739bd4da54 (patch) | |
tree | 5439910db3631d3200f0f7df70e3d8707ab146cf /support/latexindent/LatexIndent/FileExtension.pm | |
parent | c946b2e792715f6030486d5214be1df081de37a8 (diff) |
CTAN sync 202301080301
Diffstat (limited to 'support/latexindent/LatexIndent/FileExtension.pm')
-rw-r--r-- | support/latexindent/LatexIndent/FileExtension.pm | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/support/latexindent/LatexIndent/FileExtension.pm b/support/latexindent/LatexIndent/FileExtension.pm index 8b01fa9e29..b0f49f246d 100644 --- a/support/latexindent/LatexIndent/FileExtension.pm +++ b/support/latexindent/LatexIndent/FileExtension.pm @@ -72,7 +72,7 @@ sub file_extension_check { if ( defined ${$self}{multipleFiles} ) { $logger->warn( "*I couldn't find a match for $fileName in fileExtensionPreference (see defaultSettings.yaml)"); - $logger->warn("moving on, no indendation done for ${$self}{fileName}."); + $logger->warn("moving on, no indentation done for ${$self}{fileName}."); return 3; } else { @@ -82,7 +82,7 @@ sub file_extension_check { $logger->fatal("I searched for $fileName$_"); } $logger->fatal("but couldn't find any of them.\nConsider updating fileExtensionPreference."); - $logger->fatal("*Exiting, no indendation done."); + $logger->fatal("*Exiting, no indentation done."); $self->output_logfile(); exit(3); } @@ -93,12 +93,12 @@ sub file_extension_check { unless ( -e $fileName ) { if ( defined ${$self}{multipleFiles} ) { $logger->warn("*I couldn't find $fileName, are you sure it exists?"); - $logger->warn("moving on, no indendation done for ${$self}{fileName}."); + $logger->warn("moving on, no indentation done for ${$self}{fileName}."); return 3; } else { $logger->fatal("*I couldn't find $fileName, are you sure it exists?"); - $logger->fatal("Exiting, no indendation done."); + $logger->fatal("Exiting, no indentation done."); $self->output_logfile(); exit(3); } @@ -171,12 +171,12 @@ sub file_extension_check { if ( $openFilePossible == 0 ) { if ( defined ${$self}{multipleFiles} ) { $logger->warn("*$fileName exists, but could not open it"); - $logger->warn("moving on, no indendation done for $fileName"); + $logger->warn("moving on, no indentation done for $fileName"); return 4; } else { $logger->fatal("*$fileName exists, but could not open it"); - $logger->fatal("Exiting, no indendation done."); + $logger->fatal("Exiting, no indentation done."); $self->output_logfile(); exit(4); } |