Skip to content

Commit dc8d47c

Browse files
authored
Remove bisect.cmd, remove reference to missing dts, update usage (microsoft#18353)
1 parent e51e91d commit dc8d47c

File tree

2 files changed

+6
-34
lines changed

2 files changed

+6
-34
lines changed

scripts/bisect-test.ts

+6-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
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+
*/
35
import cp = require('child_process');
46
import 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
}

scripts/bisect.cmd

-30
This file was deleted.

0 commit comments

Comments
 (0)