@@ -50,7 +50,7 @@ static async Task<int> Main(string sourcepath, int? pullrequest = default, strin
50
50
! string . IsNullOrEmpty ( owner ) &&
51
51
! string . IsNullOrEmpty ( repo ) )
52
52
{
53
- IEnumerable < DiscoveryResult > projects ;
53
+ List < DiscoveryResult > projects ;
54
54
55
55
// Normal github PR
56
56
if ( string . IsNullOrEmpty ( dryrunTestId ) )
@@ -68,8 +68,9 @@ static async Task<int> Main(string sourcepath, int? pullrequest = default, strin
68
68
else if ( string . IsNullOrEmpty ( dryrunTestDataFile ) )
69
69
throw new ArgumentNullException ( nameof ( dryrunTestDataFile ) , "The dryrun Test DataFile must be set" ) ;
70
70
else
71
- projects = new TestingProjectList ( dryrunTestId , dryrunTestDataFile , sourcepath ) . GenerateBuildList ( ) ;
71
+ projects = new TestingProjectList ( dryrunTestId , dryrunTestDataFile , sourcepath ) . GenerateBuildList ( ) . ToList ( ) ;
72
72
73
+ Log . Write ( 0 , $ "{ projects . Count } items found.") ;
73
74
Log . Write ( 0 , "\r \n Output all items found, grouped by status..." ) ;
74
75
75
76
// Start processing all of the discovered projects
@@ -389,7 +390,6 @@ private static void ProcessFailedProjects(string repo, IEnumerable<SnippetsConfi
389
390
{
390
391
Log . Write ( 0 , "" ) ;
391
392
Log . Write ( 0 , $ "Found error code: { item . ErrorCode } on line\r \n { Log . Ind ( 4 ) } { item . ErrorLine ! } ") ;
392
-
393
393
Match match = Regex . Match ( item . ErrorLine ! , "(^.*)\\ ((\\ d*),(\\ d*)\\ )" ) ;
394
394
395
395
if ( match . Success )
0 commit comments