Skip to content


Options from rake config are not loaded #102

e1senh0rn opened this Issue · 0 comments

2 participants


There is incorrect check for "is_cli" env var within annotate_models/lib/tasks/annotate_models.rake.
It is if(!ENV['is_cli']), but env var contains "1" (string), and it evaluates expression to false.

That's why options from auto_annotate_models.rake are not used when running annotate.

It looks like it should be changed to if ENV['is_cli'] == "1".

@ctran ctran closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.