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
Version warning when only local version is behind. #1336
Comments
@jamestalmage super interested in helping out on this issue, but I'm not sure on where to start. |
AVA starts with That file runs I suggest adding an environment variable in if (!process.env.AVA_LOCAL_CLI) {
process.env.AVA_LOCAL_CLI = String(localCLI)
} When running the local CLI that should be At least I think so, this logic is mind-bending without running some tests 😉 |
is this being worked on, or available still? |
@thisisrai have you had a chance to make progress on this? @servicelevel please feel free to make a start. It's possible of course that @thisisrai is nearly done. Regardless I'll add the |
i'll give @thisisrai a few hours to respond here, and then i'll get it going if its not already in progress/near completion. |
@novemberborn I haven't had a chance to look it at yet. Been super busy lately. @servicelevel Feel free to go for it. |
@thisisrai no worries. Thanks for responding! 👍 |
alright. on it... i suppose i am wondering if there should be an indication as to whether the global or local version of the cli was used, but that may be another discussion all together. |
@servicelevel Are you working on this issue? |
damn - same faith as @thisisrai :/ just 0 time. so please do take it @tdeschryver - and if you want, i can commit my code later (missing tests as mentioned) but its a rather well outlined approach by @novemberborn above, so not sure that would help much. |
@novemberborn I'm having a small problem with the testing. At test/cli.js you can see I'm deleting the |
@tdeschryver
You could change |
If the global version is up to date, but the local version is behind, you still get an error message telling you to update, but it recommends using the
-g
flag.The text was updated successfully, but these errors were encountered: