Skip to content

Commit

Permalink
Update testMavenMappings.cfc
Browse files Browse the repository at this point in the history
  • Loading branch information
zspitzer committed Jun 21, 2024
1 parent dda4d55 commit bb33fca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/testMavenMappings.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ component extends="org.lucee.cfml.test.LuceeTestCase" labels="data-provider-inte
mappings = deserializeJSON( mappings );
var meta = "";
var missing = [];

systemOutput( "", true );
var mavenMatcher = new update.services.legacy.MavenMatcher();
for (var mapping in mappings ){
// systemOutput( "checking #mapping.toJson()#", true );
try {
meta = mavenMatcher.getMatch( mapping, "latest" );
systemOutput( meta.toJson(), true );
} catch( e ) {
arrayAppend(missing, " #mapping# threw #e.message# ")
arrayAppend(missing, " #mapping# threw #e.message#, mapping: #mappings[mapping].toJson()# ");
}
}
if ( len( missing ) ){
Expand Down

0 comments on commit bb33fca

Please sign in to comment.