From a4fb65fafa23fa9ce4752a24f91e26ea1afae930 Mon Sep 17 00:00:00 2001 From: Gurkirat Singh Date: Sun, 6 Mar 2022 04:19:16 +0530 Subject: [PATCH] fix lint errors in the truffle completions --- completion/available/truffle.completion.bash | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/completion/available/truffle.completion.bash b/completion/available/truffle.completion.bash index eb591e27..ea89adde 100644 --- a/completion/available/truffle.completion.bash +++ b/completion/available/truffle.completion.bash @@ -1,8 +1,8 @@ # shellcheck shell=bash __truffle_completion() { - local prev=$(_get_pword) - local curr=$(_get_cword) + local prev + prev=$(_get_pword) case $prev in compile) @@ -29,7 +29,7 @@ __truffle_completion() { exec) COMPREPLY=(--{network,compile}) ;; - debug) + init) COMPREPLY=(--force) ;; migrate)