Skip to content

Commit 83c6481

Browse files
committed
add todo
1 parent db0683b commit 83c6481

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

bin/package-manager-completion.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ function runCompletionCommand(
3030

3131
// Windows: npm may only produce a .ps1 shim; spawnSync won't resolve .ps1 via PATHEXT.
3232
// Fallback: invoke through PowerShell so .ps1 shims (e.g. nuxt.ps1) are discoverable.
33+
// TODO(AMIR): This is a hack to get the completion working on Windows.
34+
// We should find a better way to do this. as this is not a good solution. and slows down the completion.
3335
if (
3436
result.error &&
3537
(result.error as { code?: string }).code === 'ENOENT' &&

0 commit comments

Comments
 (0)