lib/sqreen/rules/run_user_actions.rb in sqreen-1.18.6-java vs lib/sqreen/rules/run_user_actions.rb in sqreen-1.19.0.beta1
- old
+ new
@@ -1,5 +1,7 @@
+# typed: true
+
# Copyright (c) 2015 Sqreen. All Rights Reserved.
# Please refer to our terms for more information: https://www.sqreen.com/terms.html
require 'sqreen/rules/rule_cb'
require 'sqreen/actions'
@@ -26,10 +28,10 @@
private
# @return [Sqreen::Actions::Repository]
def actions_repo
- Sqreen::Actions::Repository.instance
+ Sqreen::Actions::Repository.current
end
end
end
end