Skip to content

Commit

Permalink
[autofix.ci] apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Dec 26, 2024
1 parent 903bbd9 commit 694ab88
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/dict/dsl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1708,10 +1708,10 @@ vector< sptr< Dictionary::Class > > makeDictionaries( vector< string > const & f
string( fileName, 0, fileName.size() - 7 );

string abrvFileName = Utils::Fs::findFirstExistingFile( baseName + "_abrv.dsl",
baseName + "_abrv.dsl.dz",
baseName + "_ABRV.DSL",
baseName + "_ABRV.DSL.DZ",
baseName + "_ABRV.DSL.dz" );
baseName + "_abrv.dsl.dz",
baseName + "_ABRV.DSL",
baseName + "_ABRV.DSL.DZ",
baseName + "_ABRV.DSL.dz" );

//check empty string
if ( abrvFileName.size() ) {
Expand All @@ -1725,9 +1725,9 @@ vector< sptr< Dictionary::Class > > makeDictionaries( vector< string > const & f
// See if there's a zip file with resources present. If so, include it.

string zipFileName = Utils::Fs::findFirstExistingFile( baseName + ".dsl.files.zip",
baseName + ".dsl.dz.files.zip",
baseName + ".DSL.FILES.ZIP",
baseName + ".DSL.DZ.FILES.ZIP" );
baseName + ".dsl.dz.files.zip",
baseName + ".DSL.FILES.ZIP",
baseName + ".DSL.DZ.FILES.ZIP" );

if ( !zipFileName.empty() ) {
dictFiles.push_back( zipFileName );
Expand Down

0 comments on commit 694ab88

Please sign in to comment.