Skip to content

Commit

Permalink
Fix comment of SourceAnnotationExtractor#find_in
Browse files Browse the repository at this point in the history
Commit(810af6f) changed which extensions are taken into account,
so make to match comment of find_in.
And sort extensions to follow the added order.
  • Loading branch information
yui-knk committed Nov 9, 2014
1 parent 001e600 commit 9cf3596
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions railties/lib/rails/source_annotation_extractor.rb
Expand Up @@ -80,9 +80,8 @@ def find(dirs)

# Returns a hash that maps filenames under +dir+ (recursively) to arrays
# with their annotations. Only files with annotations are included. Files
# with extension +.builder+, +.rb+, +.erb+, +.haml+, +.slim+, +.css+,
# +.scss+, +.js+, +.coffee+, +.rake+, +.sass+ and +.less+
# are taken into account.
# with extension +.builder+, +.rb+, +.rake+, +.yml+, +.yaml+, +.ruby+,
# +.css+, +.js+ and +.erb+ are taken into account.
def find_in(dir)
results = {}

Expand Down

0 comments on commit 9cf3596

Please sign in to comment.