every-ts
every-ts copied to clipboard
Document how to use `every-ts bisect run` to look for a commit that *fixed* an issue
The docs explain how to use every-ts bisect run
to find the commit that broke something, but sometimes you want to find the commit that fixed an issue.
Case in point: I tried to repro #33191 at HEAD
today and couldn't. It was fixed sometime after 5.3.2.
I wound up doing it with this script that flips the exit codes. But maybe there's a better way that doesn't require that.
#!/bin/bash
if every-ts tsc -p tsconfig.json ; then
echo 'good'
exit 1
else
echo 'bad'
exit 0
fi