Closed joliss closed 3 years ago
Wait. Renaming tests/integration/shared/sources/gitdiff.json.example
to tests/integration/shared/sources/gitdiff.json
is going to be a nuisance for you, @jzohrab, since you're not using "origin/master", so it would always show as modified in your clone. I'll have to come up with a better way to do this. Let me get back to you.
Okay, it now simply uses origin/master
as a default when there's no gitdiff.json
file. This should be better.
The tests for this PR are red only because of #588, but other than that the test suite passes. So this PR is ready for review now!
Odd that the tests failed ... they had been working, I added those checks b/c the old code wasn't double-checking those cases.
Thanks @joliss!
These commits allow us to run
and have the test suite run successfully, as is customary for Node packages.
I've also amended the instructions to use this workflow; they're a bunch shorter now as a result. I believe most people tend to have
origin
as the upstream remote, and some other name (joliss
for me) for their forks. This is what I've been doing, and all Node packages I've encountered so far have been amenable to this workflow.