File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ namespace MotionExtract;
99/// Adapted from https://android.stackexchange.com/a/203898
1010/// Converted to C#.
1111/// </summary>
12+ [ ExcludeFromCodeCoverage ]
1213public static class Program
1314{
1415 static int Main ( string [ ] args )
@@ -53,7 +54,7 @@ static int Main(string[] args)
5354 }
5455
5556 // Determine output directory
56- string outputDir = parsedArgs . OutputDirectory ?? Path . Combine ( srcDir , "output" ) ;
57+ var outputDir = parsedArgs . OutputDirectory ?? Path . Combine ( srcDir , "output" ) ;
5758
5859 // Get all files matching the given pattern
5960 WriteInfo ( $ "Scanning for files in: { srcDir } ") ;
@@ -70,10 +71,10 @@ static int Main(string[] args)
7071 Console . WriteLine ( ) ;
7172
7273 // Track statistics
73- int processed = 0 ;
74- int extracted = 0 ;
75- int skipped = 0 ;
76- int errors = 0 ;
74+ var processed = 0 ;
75+ var extracted = 0 ;
76+ var skipped = 0 ;
77+ var errors = 0 ;
7778
7879 // Process each file
7980 foreach ( var file in files )
@@ -131,7 +132,7 @@ private static ParsedArguments ParseArguments(string[] args)
131132 {
132133 var result = new ParsedArguments ( ) ;
133134
134- for ( int i = 0 ; i < args . Length ; i ++ )
135+ for ( var i = 0 ; i < args . Length ; i ++ )
135136 {
136137 var arg = args [ i ] ;
137138
You can’t perform that action at this time.
0 commit comments