You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(windows): use RunInDir for project package scanning
On Windows, Go's os/exec escapes double quotes with backslashes when
passing arguments to cmd.exe, but cmd.exe treats \ as a path separator.
This caused every "cd <path> && npm ls" command to fail with
"The filename, directory name, or volume label syntax is incorrect."
Result: all project-level NPM packages were missing from telemetry on
Windows (only global packages were collected).
Fix: Add RunInDir to the Executor interface which sets exec.Cmd.Dir
directly, bypassing the shell entirely. Update scanProject() and
scanYarnGlobal() to use RunInDir instead of shell cd.
0 commit comments