Skip to content

Commit df2a240

Browse files
authored
Merge pull request #1 from MORYX-Industry/bugfix/include-all-step-files
Gather all(!) `Some`s and the `SimulatedInOutDriver` to make a `Step`
2 parents 75fe394 + 0734be4 commit df2a240

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)