Skip to content

Conversation

@bjfletcher
Copy link

We had problems with npm ls (deep in haikro) earlier today because it didn't output any indication that it had errors/issues. Only a bad return code that we didn't know about, made worse by the fact that it was --log-leve=silence.

I realise that one reason for this design is for ease of integration & scriptability (string comparison with error output) but hey IMHO a bad error output is far better than a silent error output. :)

We had problems with `npm ls` (deep in `haikro`) earlier today because it didn't output any indication that it had errors/issues. Only a bad return code that we didn't know about, made worse by the fact that it was `--log-leve=silence`.

I realise that one reason for this design is for ease of integration & scriptability (string comparison with error output) but hey IMHO a bad error output is far better than a silent error output. :)
@matthew-andrews
Copy link
Owner

Hmmmmmmmmmm, we should think about this really carefully. I think to be safe we should make this a major version bump. Do you think it's worth doing?

@leggsimon
Copy link

Why do you think it should this be a major version? It still fails in the same way but just outputs the error message, no?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants