File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
src/ProjectTemplates/test/Templates.Tests Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -88,12 +88,7 @@ public async Task Template_Produces_The_Right_Set_Of_FilesAsync(string arguments
8888 foreach ( var file in filesInFolder )
8989 {
9090 var relativePath = file . Replace ( Project . TemplateOutputDir , "" ) . Replace ( "\\ " , "/" ) . Trim ( '/' ) ;
91- if ( relativePath . EndsWith ( ".csproj" , StringComparison . Ordinal ) ||
92- relativePath . EndsWith ( ".fsproj" , StringComparison . Ordinal ) ||
93- relativePath . EndsWith ( ".props" , StringComparison . Ordinal ) ||
94- relativePath . EndsWith ( ".sln" , StringComparison . Ordinal ) ||
95- relativePath . EndsWith ( ".targets" , StringComparison . Ordinal ) ||
96- relativePath . StartsWith ( "bin/" , StringComparison . Ordinal ) ||
91+ if ( relativePath . StartsWith ( "bin/" , StringComparison . Ordinal ) ||
9792 relativePath . StartsWith ( "obj/" , StringComparison . Ordinal ) ||
9893 relativePath . Contains ( "/bin/" , StringComparison . Ordinal ) ||
9994 relativePath . Contains ( "/obj/" , StringComparison . Ordinal ) )
You can’t perform that action at this time.
0 commit comments