C#: Remove unneeded options from standalone extractor

This commit is contained in:
Tamas Vajk
2023-12-12 10:24:21 +01:00
parent 16e86134f3
commit 21229b93bf
8 changed files with 82 additions and 228 deletions

View File

@@ -29,7 +29,7 @@ namespace Semmle.Extraction.CSharp.Standalone
dependencyManager = new DependencyManager(options.SrcDir, options.Dependencies, logger);
References = dependencyManager.ReferenceFiles;
Extraction = new Extraction(options.SrcDir);
Extraction.Sources.AddRange(options.Dependencies.SolutionFile is null ? dependencyManager.AllSourceFiles : dependencyManager.ProjectSourceFiles);
Extraction.Sources.AddRange(dependencyManager.AllSourceFiles);
}
public IEnumerable<string> References { get; }