From 1e73b7970a882f491eee9217e818f8c8906e3d8a Mon Sep 17 00:00:00 2001 From: Oleg Smelov <79197369+oleg-vinted@users.noreply.github.com> Date: Tue, 29 Jun 2021 19:55:51 +0300 Subject: [PATCH] Fix Gemfile.lock being detected as Ruby --- 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,