Skip to content

fix: pnpm path fix for windows & linux#128

Open
Prateek-stepsecurity wants to merge 2 commits into
step-security:mainfrom
Prateek-stepsecurity:pn/pnpm-fix
Open

fix: pnpm path fix for windows & linux#128
Prateek-stepsecurity wants to merge 2 commits into
step-security:mainfrom
Prateek-stepsecurity:pn/pnpm-fix

Conversation

@Prateek-stepsecurity
Copy link
Copy Markdown
Contributor

What does this PR do?

Type of change

  • Bug fix
  • Enhancement
  • Documentation

Testing

  • Tested on macOS (version: ___)
  • Binary runs without errors: ./stepsecurity-dev-machine-guard --verbose
  • JSON output is valid: ./stepsecurity-dev-machine-guard --json | python3 -m json.tool
  • No secrets or credentials included
  • Lint passes: make lint
  • Tests pass: make test

Related Issues

}
case model.PlatformWindows:
if localAppData := exec.Getenv("LOCALAPPDATA"); localAppData != "" {
return filepath.Join(localAppData, "pnpm")
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Prateek-stepsecurity changes lgtm!! Can you apply similar fix for linux as well.

Signed-off-by: prateek-stepsecurity <prateek@stepsecurity.io>
Signed-off-by: prateek-stepsecurity <prateek@stepsecurity.io>
@Prateek-stepsecurity Prateek-stepsecurity changed the title fix: pnpm path fix for windows fix: pnpm path fix for windows & linux Jun 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants