From 47dd69c032c0fd384eee76edc4d2488b44c741ac Mon Sep 17 00:00:00 2001 From: Oleg Smelov <79197369+oleg-vinted@users.noreply.github.com> Date: Sat, 10 Jul 2021 20:02:07 +0300 Subject: [PATCH] Fix Gemfile.lock being detected as Ruby on Rails (#148) --- as_plugins/is_rails_file.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/as_plugins/is_rails_file.py b/as_plugins/is_rails_file.py index 263c370..354e5a2 100644 --- a/as_plugins/is_rails_file.py +++ b/as_plugins/is_rails_file.py @@ -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,