Closed esamattis closed 4 years ago
10.4.x was supposed to be a transparent refactor, with no functional changes.
We do have an extensive battery of tests, with everything passing before this release. Could you provide me your Jakefile, or a repo I can use to repro the problem?
Yeah, of course. Sorry about not including it earlier.
The jakefile content:
const { task } = require("jake");
task("test", () => {
console.log("test");
});
Repro steps:
git clone https://github.com/esamattis/jake-bug.git
cd jake-bug/
npm ci
./node_modules/.bin/jake test
Thanks so much for reporting this. It turned out to be a problem with packaging and distribution, not source code — which explains why none of the tests caught it.
I've updated our tests to install the actual package locally, and run the tests using the binary in that distro, instead of using the CLI from source code. This will catch any of these issues with packaging and distribution in the future. I also added a test for this specific bug.
This is fixed in v10.4.3, also on NPM.
Upgraded from 10.3.2 to 10.4.1 and started getting this:
btw, is there a changelog for these changes? Could not find anything from
changelog.md
or the releases page.