PS: Ignore non-directories when generating Tests.cs

This commit is contained in:
Katy Coe
2019-11-27 06:23:08 +01:00
parent 5586173c1c
commit c57383b0bd

View File

@@ -17,7 +17,7 @@ namespace Il2CppInspector
{ {
"@ > $testGen "@ > $testGen
gci $bin | % { gci -Directory $bin | % {
echo @" echo @"
[Test] [Test]
public void $($_.Name.Replace("-","_").Replace(" ","_").Replace(".","_"))() { public void $($_.Name.Replace("-","_").Replace(" ","_").Replace(".","_"))() {