Skip to content

Commit 8e4899b

Browse files
committed
No need for T.unsafe any more
1 parent bc3163e commit 8e4899b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/ruby_lsp/ruby_lsp_rails/code_lens.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,23 +98,23 @@ def add_test_code_lens(node, name:, command:, kind:)
9898
},
9999
]
100100

101-
T.must(@response) << T.unsafe(self).create_code_lens(
101+
T.must(@response) << create_code_lens(
102102
node,
103103
title: "Run",
104104
command_name: "rubyLsp.runTest",
105105
arguments: arguments,
106106
data: { type: "test", kind: kind },
107107
)
108108

109-
T.must(@response) << T.unsafe(self).create_code_lens(
109+
T.must(@response) << create_code_lens(
110110
node,
111111
title: "Run In Terminal",
112112
command_name: "rubyLsp.runTestInTerminal",
113113
arguments: arguments,
114114
data: { type: "test_in_terminal", kind: kind },
115115
)
116116

117-
T.must(@response) << T.unsafe(self).create_code_lens(
117+
T.must(@response) << create_code_lens(
118118
node,
119119
title: "Debug",
120120
command_name: "rubyLsp.debugTest",

0 commit comments

Comments
 (0)