Skip to content

Commit f5ab769

Browse files
authored
Merge da348e7 into 6f35b6f
2 parents 6f35b6f + da348e7 commit f5ab769

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/synvert/core/rewriter/gem_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def initialize(name, comparator)
2727
# @raise [Synvert::Core::GemfileLockNotFound] raise if Gemfile.lock does not exist.
2828
def match?
2929
gemfile_lock_path = File.join(Configuration.instance.get(:path), 'Gemfile.lock')
30-
if File.exists? gemfile_lock_path
30+
if File.exist? gemfile_lock_path
3131
parser = Bundler::LockfileParser.new(File.read(gemfile_lock_path))
3232
if spec = parser.specs.find { |spec| spec.name == @name }
3333
Gem::Version.new(spec.version).send(OPERATORS[@operator], @version)

0 commit comments

Comments
 (0)