File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 1- /// <reference path="../src/harness/external/ node.d.ts" />
1+ /// <reference types=" node" />
22
33import fs = require( 'fs' ) ;
44import path = require( 'path' ) ;
Original file line number Diff line number Diff line change @@ -198,7 +198,8 @@ namespace RWC {
198198 }
199199 // Do not include the library in the baselines to avoid noise
200200 const baselineFiles = inputFiles . concat ( otherFiles ) . filter ( f => ! Harness . isDefaultLibraryFile ( f . unitName ) ) ;
201- return Harness . Compiler . getErrorBaseline ( baselineFiles , compilerResult . errors ) ;
201+ const errors = compilerResult . errors . filter ( e => ! Harness . isDefaultLibraryFile ( e . file . fileName ) ) ;
202+ return Harness . Compiler . getErrorBaseline ( baselineFiles , errors ) ;
202203 } , false , baselineOpts ) ;
203204 } ) ;
204205
You can’t perform that action at this time.
0 commit comments