From d520b76b10c3f7924c9d202cee56cb158844835e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lek=C3=AB=20Mula?= Date: Sun, 26 May 2024 13:15:00 +0200 Subject: [PATCH] Remove non-existent method call `Workspace#would_merge?` was removed here: https://github.com/castwide/solargraph/pull/638/commits/84b75324dddd176b765d3f1322ac0ad351d1b4a0 --- lib/solargraph/library.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/solargraph/library.rb b/lib/solargraph/library.rb index dff701cb3..ab2f1c74f 100644 --- a/lib/solargraph/library.rb +++ b/lib/solargraph/library.rb @@ -97,7 +97,7 @@ def contain? filename def create filename, text result = false mutex.synchronize do - next unless contain?(filename) || open?(filename) || workspace.would_merge?(filename) + next unless contain?(filename) || open?(filename) @synchronized = false source = Solargraph::Source.load_string(text, filename) workspace.merge(source)