nx migrate
: flag to skip cloud question
#26803
mpsanchis
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi team!
I just realised that when I programmatically update a repo (running
npx nx migrate nx@some-version
), I sometimes get an OS process hanging.I noted it is because the process sometimes (not in every repo.. I'll have to check why) gets asked:
And if I just spawned it, the
stdin
won't provide an answer, and it won't finish.I guess I can spawn it with something like
yes no | npx nx migrate nx@some-version
, but it looks a bit ugly. The CLI's API doesn't seem to have a flag that replies to this question. Is there one and maybe I missed it? Something like--no-nx-Cloud
?Beta Was this translation helpful? Give feedback.
All reactions