File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- /// <reference path="..\src\harness\external\node.d.ts" />
2-
1+ /**
2+ * You should have ts-node installed globally before executing this, probably!
3+ * Otherwise you'll need to compile this script before you start bisecting!
4+ */
35import cp = require( 'child_process' ) ;
46import fs = require( 'fs' ) ;
57
@@ -42,8 +44,8 @@ jake.on('close', jakeExitCode => {
4244 } ) ;
4345 } else {
4446 console . log ( 'Unknown command line arguments.' ) ;
45- console . log ( 'Usage (compile errors): git bisect run scripts\bisect.js "foo. ts --module amd" compiles' ) ;
46- console . log ( 'Usage (emit check): git bisect run scripts\bisect.js bar.ts emits bar.js "_this = this"' ) ;
47+ console . log ( 'Usage (compile errors): git bisect run ts-node scripts\bisect-test.ts "../failure. ts --module amd" ! compiles' ) ;
48+ console . log ( 'Usage (emit check): git bisect run ts-node scripts\bisect-test.ts bar.ts emits bar.js "_this = this"' ) ;
4749 // Aborts the 'git bisect run' process
4850 process . exit ( - 1 ) ;
4951 }
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments