-
-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NPM task is not causing an expected error if npmVersion is not set #18
Comments
I'll see if I can reproduce this when I get home, but the fact that you're getting console output means that you don't have to worry about the up-to-date, This however seems kinda strange, could you double-check the exit code of |
Thanks for the quick feedback. The exist code of And I confirmed that the
|
I've reproduced this in https://github.com/deepy/testcase but I can't see why the |
When changing the testcase like this the problem goes away, further troubleshooting necessary
|
@gavingolden what does |
I have a global npm version of |
We still want to solve the underlying issue here, even if a workaround exists :-) |
ha oops, I referenced this issue in a private PR and merging it caused it to close automatically |
With the following configuration, I noticed that the gradle npm task is not failing when it should. I tested this by running the
npm run test
task directly from the same directory and it returned the expected linting error (so there's an error yet the gradle task passes without any of the expected error output).Command:
./gradlew lint
Ouput:
Command:
npm run lint
Output:
build.gradle
package.json
I've tried debugging this with a few scenarios:
I suspect it might have to do with the gradle output
1 up-to-date
, which I believe is part of the incremental build system. If that's the problem how do you recommend getting past it?The text was updated successfully, but these errors were encountered: