We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c43a9c7 + b599d36 commit 3ffa1c4Copy full SHA for 3ffa1c4
nx-completion.plugin.zsh
@@ -66,9 +66,8 @@ _workspace_projects() {
66
# Collect workspace targets
67
_nx_workspace_targets() {
68
integer ret=1
69
- if _workspace_def; then
70
- jq -r '[.graph.nodes[] | .data.targets | keys[]] | unique[] | if test(":") then . | gsub(":"; "\\:") else . end' $_nx_tmp_cached_def && ret=0
71
- fi
+ local def=$(_workspace_def)
+ jq -r '[.graph.nodes[] | .data.targets | keys[]] | unique[] | if test(":") then . | gsub(":"; "\\:") else . end' $def && ret=0
72
return ret
73
}
74
0 commit comments