Skip to content

Commit

Permalink
tox: Avoid stderr spewage when -e invoked without tox.ini
Browse files Browse the repository at this point in the history
  • Loading branch information
scop committed Oct 5, 2017
1 parent 89fb872 commit 1ac8895
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion completions/tox
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ _tox()
return
;;
-e)
local envs=$( "$1" --listenvs-all )
local envs=$( "$1" --listenvs-all 2>/dev/null )
COMPREPLY=( $( compgen -W "$envs" -- "$cur" ) )
return
;;
Expand Down

0 comments on commit 1ac8895

Please sign in to comment.