ember-cli-deprecation-workflow icon indicating copy to clipboard operation
ember-cli-deprecation-workflow copied to clipboard

`deprecationWorkflow` does not exist?

Open mydea opened this issue 3 years ago • 2 comments

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?

mydea avatar Mar 02 '21 10:03 mydea

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)?

mydea avatar Mar 03 '21 07:03 mydea

Seeing the same issue with 2.0.0

nlfurniss avatar Aug 02 '21 23:08 nlfurniss