ember-cli / ember-cli-htmlbars

MIT License
77 stars 66 forks source link

Version 6.0.1+ ignores --silent flag #781

Open apellerano-pw opened 11 months ago

apellerano-pw commented 11 months ago

I've created a reproduction of this bug here: https://github.com/apellerano-pw/htmlbars-silent-repro

Steps to reproduce

  1. have an ember app with some kind of deprecation output, e.g. use {{#with}} in Ember 3.28
  2. use ember-cli-htmlbars 6.0.1 or higher
  3. run ember test --silent (in the repro repo you can do npm run repro)

Expected

There is no build output, only test output

Actual

Deprecation output will be shown in addition to test output

Workaround

Pin your version of ember-cli-htmlbars to 6.0.0

apellerano-pw commented 11 months ago

Here's the diff between 6.0.1 and 6.0.0.

https://github.com/ember-cli/ember-cli-htmlbars/compare/v6.0.0...v6.0.1

It's likely this PR but I don't understand Ember's build process enough to say why

https://github.com/ember-cli/ember-cli-htmlbars/pull/739