Skip to content

Commit 0734be4

Browse files
committed
Gather all(!) Somes and the SimulatedInOutDriver to make a Step
The predefined list doesn't scale and missed the driver.
1 parent 75fe394 commit 0734be4

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

src/Moryx.Cli.Template/Template.cs

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -78,15 +78,11 @@ public static List<string> Product(this List<string> list)
7878

7979
public static List<string> Step(this List<string> list)
8080
{
81-
var whitelist = new List<string>(){
82-
"SomeCapabilities",
83-
"SomeActivity.cs",
84-
"SomeActivityResults.cs",
85-
"SomeParameters.cs",
86-
"SomeTask.cs",
87-
"ISomeResource.cs",
88-
"SomeCell.cs",
89-
};
81+
var whitelist = list
82+
.Where(e => e.Contains("Some"))
83+
.ToList();
84+
whitelist.Add("SimulatedInOutDriver.cs");
85+
9086
return list
9187
.Intersect(whitelist, new ListComparer())
9288
.ToList();

0 commit comments

Comments
 (0)