annotate_models icon indicating copy to clipboard operation
annotate_models copied to clipboard

annotate reports some annotations, but there are none. then reports no changes...

Open gingerlime opened this issue 5 years ago • 0 comments

When I run bundle exec annotate, it tells me that files were annotated, but no changes are made. Running it again somehow returns Model files unchanged

Commands

# bundle exec annotate
Annotated (2): app/models/article.rb, spec/models/article_spec.rb

# git st
On branch dependabot/bundler/annotate-3.1.1
Your branch is up to date with 'origin/dependabot/bundler/annotate-3.1.1'.

Untracked files:
  (use "git add <file>..." to include in what will be committed)

      (some untracked files, but not those models)

# bundle exec annotate
Model files unchanged.

Version

  • annotate version 3.1.1 (doesn't happen with 3.0.3)
  • rails version 6.0.2.2
  • ruby version 2.6

Running inside docker. This also happens on our CI ...

gingerlime avatar Mar 24 '20 17:03 gingerlime