File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -493,7 +493,7 @@ module Harness {
493493 export let readFile : typeof IO . readFile = ts . sys . readFile ;
494494 export let writeFile : typeof IO . writeFile = ts . sys . writeFile ;
495495 export let fileExists : typeof IO . fileExists = fs . existsSync ;
496- export let log : typeof IO . log = console . log . bind ( console ) ;
496+ export let log : typeof IO . log = s => console . log ( s ) ;
497497
498498 export function createDirectory ( path : string ) {
499499 if ( ! directoryExists ( path ) ) {
@@ -673,7 +673,7 @@ module Harness {
673673 } ;
674674 export let listFiles = Utils . memoize ( _listFilesImpl ) ;
675675
676- export let log = console . log . bind ( console ) ;
676+ export let log = s => console . log ( s ) ;
677677
678678 export function readFile ( file : string ) {
679679 let response = Http . getFileFromServerSync ( serverRoot + file ) ;
You can’t perform that action at this time.
0 commit comments