Skip to content

Commit

Permalink
Merge pull request #1023 from carapace-sh/xonsh-fix-import
Browse files Browse the repository at this point in the history
xonsh: fix import
  • Loading branch information
rsteube authored Jun 30, 2024
2 parents af8791a + 3e32c5a commit 74167cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion example/cmd/_test/xonsh.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def fix_prefix(s):
if not output:
return

for c in json.loads(output):
for c in loads(output):
yield RichCompletion(
c["Value"],
display=c["Display"],
Expand Down
2 changes: 1 addition & 1 deletion internal/shell/xonsh/snippet.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def _%v_completer(context):
if not output:
return
for c in json.loads(output):
for c in loads(output):
yield RichCompletion(
c["Value"],
display=c["Display"],
Expand Down

0 comments on commit 74167cb

Please sign in to comment.