浏览代码

chore(bazel): update completion to f146202c

Marc Cornellà 2 年之前
父节点
当前提交
c155531402
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      plugins/bazel/_bazel

+ 1 - 1
plugins/bazel/_bazel

@@ -164,7 +164,7 @@ _get_build_targets() {
       ;;
   esac
   completions=(${$(_bazel_b query "kind(\"${rule_re}\", ${pkg}:all)" 2>/dev/null)##*:})
-  if ( (( ${#completions} > 0 )) && [[ $target_type != run ]] ); then
+  if ( (( ${#completions} > 0 )) && [[ $target_type != bin ]] ); then
     completions+=(all)
   fi
   echo ${completions[*]}