File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
internal/fourslash/_scripts Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ interface TestEvent {
1717}
1818
1919async function main ( ) {
20- const oldFailingTests = fs . readFileSync ( failingTestsPath , "utf-8" ) ;
2120 const go = which . sync ( "go" ) ;
2221
2322 let testProcess : cp . ChildProcess ;
@@ -29,7 +28,6 @@ async function main() {
2928 } ) ;
3029 }
3130 catch ( error ) {
32- fs . writeFileSync ( failingTestsPath , oldFailingTests , "utf-8" ) ;
3331 throw new Error ( "Failed to spawn test process: " + error ) ;
3432 }
3533
@@ -118,7 +116,6 @@ async function main() {
118116 await new Promise < void > ( ( resolve , reject ) => {
119117 testProcess . on ( "close" , code => {
120118 if ( hadPanic ) {
121- fs . writeFileSync ( failingTestsPath , oldFailingTests , "utf-8" ) ;
122119 reject ( new Error ( "Unrecovered panic detected in tests\n" + allOutputs . join ( "" ) ) ) ;
123120 return ;
124121 }
@@ -129,7 +126,6 @@ async function main() {
129126 } ) ;
130127
131128 testProcess . on ( "error" , error => {
132- fs . writeFileSync ( failingTestsPath , oldFailingTests , "utf-8" ) ;
133129 reject ( error ) ;
134130 } ) ;
135131 } ) ;
You can’t perform that action at this time.
0 commit comments