Skip to content

Commit

Permalink
Fix Gemfile.lock being detected as Ruby on Rails (#148)
Browse files Browse the repository at this point in the history
  • Loading branch information
oleg-vinted authored Jul 10, 2021
1 parent faf045c commit 47dd69c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions as_plugins/is_rails_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ def syntax_test(file_path):
file_name = os.path.basename(file_path).lower()
name, extension = os.path.splitext(file_name)

if name == 'gemfile':
return True

result = False

# I doubt this is the most elegant way of identifying a Rails directory structure,
Expand Down

0 comments on commit 47dd69c

Please sign in to comment.