From 07d567429c4b44d26a2a68a6782ba7d1dafbab9b Mon Sep 17 00:00:00 2001 From: Vince Broz Date: Fri, 12 Sep 2025 19:16:58 -0400 Subject: [PATCH] Fix combination of directives This was creating two-dimensional arrays; we wanted a one-dimensional array --- lib/solargraph/pin/base.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/solargraph/pin/base.rb b/lib/solargraph/pin/base.rb index e6a630562..c626101f2 100644 --- a/lib/solargraph/pin/base.rb +++ b/lib/solargraph/pin/base.rb @@ -144,7 +144,7 @@ def choose_longer(other, attr) def combine_directives(other) return self.directives if other.directives.empty? return other.directives if directives.empty? - [directives + other.directives].uniq + (directives + other.directives).uniq end # @param other [self]