Skip to content

Commit

Permalink
Remove non-existent method call (#715)
Browse files Browse the repository at this point in the history
`Workspace#would_merge?` was removed here:
84b7532
  • Loading branch information
lekemula authored Jan 18, 2025
1 parent 234d84b commit 07c1c2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/solargraph/library.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 07c1c2a

Please sign in to comment.