Skip to content

fix: set JFROG_CLI_GHOST_FROG when package alias is enabled - #344

Open
amarkdotdev wants to merge 1 commit into
jfrog:masterfrom
amarkdotdev:fix/enable-package-alias-ghost-frog
Open

fix: set JFROG_CLI_GHOST_FROG when package alias is enabled#344
amarkdotdev wants to merge 1 commit into
jfrog:masterfrom
amarkdotdev:fix/enable-package-alias-ghost-frog

Conversation

@amarkdotdev

Copy link
Copy Markdown

Summary

  • When enable-package-alias: true succeeds, also export JFROG_CLI_GHOST_FROG so Ghost Frog interception actually turns on (PATH alone is not enough).
  • Docs/action description updated to mention the env var.

Fixes #343

Test plan

  • npx jest test/main.spec.ts -t setupPackageAliasIfRequested
  • Manual: workflow with enable-package-alias: true, confirm $JFROG_CLI_GHOST_FROG is set and go/npm shims intercept as documented

Package alias install added PATH shims but never exported the Ghost Frog
gate env var, so interception stayed off in later steps.

Fixes jfrog#343

Signed-off-by: Aaron Mark <amark@g.jct.ac.il>
@amarkdotdev
amarkdotdev marked this pull request as ready for review August 18, 2026 19:07
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.

enable-package-alias: true installs the alias but never activates it (JFROG_CLI_GHOST_FROG is never set)

1 participant