File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -493,7 +493,7 @@ module Harness {
493
493
export let readFile : typeof IO . readFile = ts . sys . readFile ;
494
494
export let writeFile : typeof IO . writeFile = ts . sys . writeFile ;
495
495
export let fileExists : typeof IO . fileExists = fs . existsSync ;
496
- export let log : typeof IO . log = console . log ;
496
+ export let log : typeof IO . log = console . log . bind ( console ) ;
497
497
498
498
export function createDirectory ( path : string ) {
499
499
if ( ! directoryExists ( path ) ) {
@@ -673,7 +673,7 @@ module Harness {
673
673
} ;
674
674
export let listFiles = Utils . memoize ( _listFilesImpl ) ;
675
675
676
- export let log = console . log ;
676
+ export let log = console . log . bind ( console ) ;
677
677
678
678
export function readFile ( file : string ) {
679
679
let response = Http . getFileFromServerSync ( serverRoot + file ) ;
You can’t perform that action at this time.
0 commit comments