Skip to content

Commit 24fbfdd

Browse files
committed
(maint) Fix rubocop violations and test timeout
This commit updates new rubocop violations and increases the test timeout due to failures on Travis.
1 parent e33bc39 commit 24fbfdd

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

lib/puppet-languageserver/puppet_helper/cache.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ def all_objects(&_block)
8282
end
8383
end
8484
end
85+
8586
private
8687

8788
# <Type of object in the file :function, :type, :class>

spec/languageserver/spec_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def wait_for_puppet_loading
2424
PuppetLanguageServer::PuppetHelper.default_classes_loaded?
2525
sleep(1)
2626
interation += 1
27-
next if interation < 60
27+
next if interation < 90
2828
raise <<-ERRORMSG
2929
Puppet has not be initialised in time:
3030
functions_loaded? = #{PuppetLanguageServer::PuppetHelper.default_functions_loaded?}

0 commit comments

Comments
 (0)