Skip to content

Commit

Permalink
fix(dmypy): protect against "localvar_inherit"
Browse files Browse the repository at this point in the history
  • Loading branch information
akinomyoga committed Sep 24, 2023
1 parent 0cc8d83 commit 768ce65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion completions/dmypy
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ _comp_cmd_dmypy()
;;
esac

local cmd has_cmd="" i
local cmd="" has_cmd="" i
for ((i = 1; i < cword; i++)); do
if [[ ${words[i]} != -* && ${words[i - 1]} != --status-file ]]; then
cmd=${words[i]}
Expand Down

0 comments on commit 768ce65

Please sign in to comment.