File tree Expand file tree Collapse file tree 5 files changed +30
-30
lines changed
base/test/node/pfs/fixtures
platform/files/test/node/fixtures
workbench/services/search/test/node Expand file tree Collapse file tree 5 files changed +30
-30
lines changed Original file line number Diff line number Diff line change 4141 }
4242 </ script >
4343 < script type ="text/javascript ">
44-
44+
4545 var libText = "" ;
4646 $ . get ( "../compiler/lib.ts" , function ( newLibText ) {
4747 libText = newLibText ;
48- } ) ;
49-
48+ } ) ;
49+
5050
5151 // execute the javascript in the compiledOutput pane
5252 function execute ( ) {
5353 $ ( '#compilation' ) . text ( "Running..." ) ;
5454 var txt = $ ( '#compiledOutput' ) . val ( ) ;
5555 var res ;
5656 try {
57- var ret = eval ( txt ) ;
57+ var ret = eval ( txt ) ; // CodeQL [SM01632] This code is only used for tests
5858 res = "Ran successfully!" ;
59- } catch ( e ) {
59+ } catch ( e ) {
6060 res = "Exception thrown: " + e ;
6161 }
6262 $ ( '#compilation' ) . text ( String ( res ) ) ;
7070 compiledSource = compile ( newText , libText ) ;
7171 } catch ( e ) {
7272 compiledSource = "//Parse error"
73- for ( var i in e )
73+ for ( var i in e )
7474 compiledSource += "\r// " + e [ i ] ;
7575 }
7676 $ ( '#compiledOutput' ) . val ( compiledSource ) ;
@@ -111,7 +111,7 @@ <h1>TypeScript</h1>
111111//Compiled code will show up here...
112112 </ textarea >
113113 < br />
114- < button onclick ='execute() '/> Run</ button >
114+ < button onclick ='execute() '/> Run</ button >
115115 < div id ='compilation '> Press 'run' to execute code...</ div >
116116 < div id ='results '> ...write your results into #results...</ div >
117117 </ div >
Original file line number Diff line number Diff line change 4141 }
4242 </ script >
4343 < script type ="text/javascript ">
44-
44+
4545 var libText = "" ;
4646 $ . get ( "../compiler/lib.ts" , function ( newLibText ) {
4747 libText = newLibText ;
48- } ) ;
49-
48+ } ) ;
49+
5050
5151 // execute the javascript in the compiledOutput pane
5252 function execute ( ) {
5353 $ ( '#compilation' ) . text ( "Running..." ) ;
5454 var txt = $ ( '#compiledOutput' ) . val ( ) ;
5555 var res ;
5656 try {
57- var ret = eval ( txt ) ;
57+ var ret = eval ( txt ) ; // CodeQL [SM01632] This code is only used for tests
5858 res = "Ran successfully!" ;
59- } catch ( e ) {
59+ } catch ( e ) {
6060 res = "Exception thrown: " + e ;
6161 }
6262 $ ( '#compilation' ) . text ( String ( res ) ) ;
7070 compiledSource = compile ( newText , libText ) ;
7171 } catch ( e ) {
7272 compiledSource = "//Parse error"
73- for ( var i in e )
73+ for ( var i in e )
7474 compiledSource += "\r// " + e [ i ] ;
7575 }
7676 $ ( '#compiledOutput' ) . val ( compiledSource ) ;
@@ -111,7 +111,7 @@ <h1>TypeScript</h1>
111111//Compiled code will show up here...
112112 </ textarea >
113113 < br />
114- < button onclick ='execute() '/> Run</ button >
114+ < button onclick ='execute() '/> Run</ button >
115115 < div id ='compilation '> Press 'run' to execute code...</ div >
116116 < div id ='results '> ...write your results into #results...</ div >
117117 </ div >
Original file line number Diff line number Diff line change 4141 }
4242 </ script >
4343 < script type ="text/javascript ">
44-
44+
4545 var libText = "" ;
4646 $ . get ( "../compiler/lib.ts" , function ( newLibText ) {
4747 libText = newLibText ;
48- } ) ;
49-
48+ } ) ;
49+
5050
5151 // execute the javascript in the compiledOutput pane
5252 function execute ( ) {
5353 $ ( '#compilation' ) . text ( "Running..." ) ;
5454 var txt = $ ( '#compiledOutput' ) . val ( ) ;
5555 var res ;
5656 try {
57- var ret = eval ( txt ) ;
57+ var ret = eval ( txt ) ; // CodeQL [SM01632] This code is only used for tests
5858 res = "Ran successfully!" ;
59- } catch ( e ) {
59+ } catch ( e ) {
6060 res = "Exception thrown: " + e ;
6161 }
6262 $ ( '#compilation' ) . text ( String ( res ) ) ;
7070 compiledSource = compile ( newText , libText ) ;
7171 } catch ( e ) {
7272 compiledSource = "//Parse error"
73- for ( var i in e )
73+ for ( var i in e )
7474 compiledSource += "\r// " + e [ i ] ;
7575 }
7676 $ ( '#compiledOutput' ) . val ( compiledSource ) ;
@@ -111,7 +111,7 @@ <h1>TypeScript</h1>
111111//Compiled code will show up here...
112112 </ textarea >
113113 < br />
114- < button onclick ='execute() '/> Run</ button >
114+ < button onclick ='execute() '/> Run</ button >
115115 < div id ='compilation '> Press 'run' to execute code...</ div >
116116 < div id ='results '> ...write your results into #results...</ div >
117117 </ div >
Original file line number Diff line number Diff line change 4141 }
4242 </ script >
4343 < script type ="text/javascript ">
44-
44+
4545 var libText = "" ;
4646 $ . get ( "../compiler/lib.ts" , function ( newLibText ) {
4747 libText = newLibText ;
48- } ) ;
49-
48+ } ) ;
49+
5050
5151 // execute the javascript in the compiledOutput pane
5252 function execute ( ) {
5353 $ ( '#compilation' ) . text ( "Running..." ) ;
5454 var txt = $ ( '#compiledOutput' ) . val ( ) ;
5555 var res ;
5656 try {
57- var ret = eval ( txt ) ;
57+ var ret = eval ( txt ) ; // CodeQL [SM01632] This code is only used for tests
5858 res = "Ran successfully!" ;
59- } catch ( e ) {
59+ } catch ( e ) {
6060 res = "Exception thrown: " + e ;
6161 }
6262 $ ( '#compilation' ) . text ( String ( res ) ) ;
7070 compiledSource = compile ( newText , libText ) ;
7171 } catch ( e ) {
7272 compiledSource = "//Parse error"
73- for ( var i in e )
73+ for ( var i in e )
7474 compiledSource += "\r// " + e [ i ] ;
7575 }
7676 $ ( '#compiledOutput' ) . val ( compiledSource ) ;
@@ -111,7 +111,7 @@ <h1>TypeScript</h1>
111111//Compiled code will show up here...
112112 </ textarea >
113113 < br />
114- < button onclick ='execute() '/> Run</ button >
114+ < button onclick ='execute() '/> Run</ button >
115115 < div id ='compilation '> Press 'run' to execute code...</ div >
116116 < div id ='results '> ...write your results into #results...</ div >
117117 </ div >
Original file line number Diff line number Diff line change @@ -157,7 +157,7 @@ flakySuite('TextSearch-integration', function () {
157157 contentPattern : { pattern : 'e' }
158158 } ;
159159
160- return doSearchTest ( config , 781 ) ;
160+ return doSearchTest ( config , 785 ) ;
161161 } ) ;
162162
163163 test ( 'Text: e (with excludes)' , ( ) => {
@@ -167,7 +167,7 @@ flakySuite('TextSearch-integration', function () {
167167 excludePattern : { '**/examples' : true }
168168 } ;
169169
170- return doSearchTest ( config , 387 ) ;
170+ return doSearchTest ( config , 391 ) ;
171171 } ) ;
172172
173173 test ( 'Text: e (with includes)' , ( ) => {
You can’t perform that action at this time.
0 commit comments