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" />
2
2
3
3
import fs = require( 'fs' ) ;
4
4
import path = require( 'path' ) ;
Original file line number Diff line number Diff line change @@ -198,7 +198,8 @@ namespace RWC {
198
198
}
199
199
// Do not include the library in the baselines to avoid noise
200
200
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 ) ;
202
203
} , false , baselineOpts ) ;
203
204
} ) ;
204
205
You can’t perform that action at this time.
0 commit comments