Skip to content

Commit aa4cd2e

Browse files
committed
fix: pass document instead of source
1 parent 49ee9dc commit aa4cd2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyls/plugins/importmagic_lint.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ def pyls_code_actions(config, document, context):
129129
# These tend to be terrible
130130
continue
131131

132-
actions.append(generate_add_action(document.source, index, module, variable))
132+
actions.append(generate_add_action(document, index, module, variable))
133133

134134
return actions
135135

0 commit comments

Comments
 (0)