File tree 1 file changed +15
-1
lines changed
csharp/ql/integration-tests/all-platforms/blazor_build_mode_none
1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change 1
1
import csharp
2
2
3
+ private string getPath ( File f ) {
4
+ result = f .getRelativePath ( ) and
5
+ not exists ( result .indexOf ( "_ql_csharp_ql_integration_tests_blazor_build_mode_none_" ) )
6
+ or
7
+ exists ( int index1 , int index2 , string pattern |
8
+ pattern = "Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator" and
9
+ index1 = f .getRelativePath ( ) .indexOf ( pattern ) and
10
+ index2 = f .getRelativePath ( ) .indexOf ( "_ql_csharp_ql_integration_tests_blazor_build_mode_none_" ) and
11
+ result =
12
+ f .getRelativePath ( ) .substring ( 0 , index1 + pattern .length ( ) ) + "/[...]" +
13
+ f .getRelativePath ( ) .substring ( index2 , f .getRelativePath ( ) .length ( ) )
14
+ )
15
+ }
16
+
3
17
from File f
4
18
where f .fromSource ( ) or f .getExtension ( ) = "razor"
5
- select f
19
+ select getPath ( f )
You can’t perform that action at this time.
0 commit comments