Skip to content

Commit

Permalink
get only speckle assemblies
Browse files Browse the repository at this point in the history
  • Loading branch information
oguzhankoral committed Nov 30, 2024
1 parent ff4cfe0 commit 4122650
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Sdk/FeatureImpactAnalyzer/GitHubPullRequestAnalyzer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,10 @@ private List<string> GetFeatureImpactAttributes(string methodName)
var impactedFeatures = new List<string>();

// Load all assemblies in the current AppDomain
var assemblies = AppDomain.CurrentDomain.GetAssemblies().ToList();
var assemblies = AppDomain
.CurrentDomain.GetAssemblies()
.Where(a => a.FullName != null && a.FullName.StartsWith("Speckle"))
.ToList();

// Dynamically load assemblies from the solution directory
string? solutionDirectory = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);
Expand Down

0 comments on commit 4122650

Please sign in to comment.