ember-cli-deprecation-workflow
ember-cli-deprecation-workflow copied to clipboard
`deprecationWorkflow` does not exist?
I just tried installing the 2.0.0-beta.2, and run deprecationWorkflow.flushDeprecations()
as the readme says, but it complains that deprecationWorkflow
is not defined for me?
I digged into it a bit, and it seems that in my (fairly normal, up to date Octane) app this line:
https://github.com/mixonic/ember-cli-deprecation-workflow/blob/cb87969bc55c45c9ca042ab9ab2ee7428c4dfb8d/index.js#L26
always returns false, because we have tests disabled by default to speed up the dev build.
Wouldn't it make sense to check if env === "development"
(maybe in addition)?
Seeing the same issue with 2.0.0