File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ public void Dispose()
51
51
52
52
public class Program
53
53
{
54
- public static Extractor . ExitCode Run ( Options options )
54
+ public static ExitCode Run ( Options options )
55
55
{
56
56
var stopwatch = new Stopwatch ( ) ;
57
57
stopwatch . Start ( ) ;
@@ -64,7 +64,7 @@ public static Extractor.ExitCode Run(Options options)
64
64
if ( sourceFileCount == 0 )
65
65
{
66
66
logger . Log ( Severity . Error , "No source files found" ) ;
67
- return Extractor . ExitCode . Errors ;
67
+ return ExitCode . Errors ;
68
68
}
69
69
70
70
if ( ! options . SkipExtraction )
@@ -81,7 +81,7 @@ public static Extractor.ExitCode Run(Options options)
81
81
options ) ;
82
82
logger . Log ( Severity . Info , $ "Extraction completed in { stopwatch . Elapsed } ") ;
83
83
}
84
- return Extractor . ExitCode . Ok ;
84
+ return ExitCode . Ok ;
85
85
}
86
86
87
87
public static int Main ( string [ ] args )
Original file line number Diff line number Diff line change 16
16
17
17
namespace Semmle . Extraction . CSharp
18
18
{
19
- public static class Extractor
19
+ public enum ExitCode
20
20
{
21
- public enum ExitCode
22
- {
23
- Ok , // Everything worked perfectly
24
- Errors , // Trap was generated but there were processing errors
25
- Failed // Trap could not be generated
26
- }
21
+ Ok , // Everything worked perfectly
22
+ Errors , // Trap was generated but there were processing errors
23
+ Failed // Trap could not be generated
24
+ }
27
25
26
+ public static class Extractor
27
+ {
28
28
private class LogProgressMonitor : IProgressMonitor
29
29
{
30
30
private readonly ILogger logger ;
You can’t perform that action at this time.
0 commit comments