Skip to content

Commit ac8ed91

Browse files
committed
(maint) Fix typo in class loader for puppet-languageserver
Previously the language server would fail to load the required language server libraries as there was a typo in the require statement. This commit removes the quotes around lib as it is not a string, but a string variable.
1 parent 17a8cf1 commit ac8ed91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/lib/puppet-languageserver.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
begin
1111
require "puppet-languageserver/#{lib}"
1212
rescue LoadError
13-
require File.expand_path(File.join(File.dirname(__FILE__), 'puppet-languageserver', 'lib'))
13+
require File.expand_path(File.join(File.dirname(__FILE__), 'puppet-languageserver', lib))
1414
end
1515
end
1616

0 commit comments

Comments
 (0)