We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c2e97f commit 537c9c5Copy full SHA for 537c9c5
1 file changed
gemfileparser/__init__.py
@@ -66,8 +66,7 @@ def __init__(self, filepath, appname=''):
66
'metrics': []
67
}
68
self.contents = self.gemfile.readlines()
69
- path = ('gemspec', 'podspec')
70
- if filepath.endswith(path):
+ if filepath.endswith(('.gemspec', '.podspec')):
71
self.gemspec = True
72
else:
73
self.gemspec = False
0 commit comments