@socketsecurity/cli-with-sentry 1.0.103 → 1.0.105

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli.js CHANGED
@@ -1632,10 +1632,12 @@ async function performReachabilityAnalysis(options) {
1632
1632
  const env = {
1633
1633
  ...process.env
1634
1634
  };
1635
- if (repoName) {
1635
+ // do not pass default repo and branch name to coana to avoid mixing
1636
+ // buckets (cached configuration) from projects that are likely very different.
1637
+ if (repoName && repoName !== constants.SOCKET_DEFAULT_REPOSITORY) {
1636
1638
  env['SOCKET_REPO_NAME'] = repoName;
1637
1639
  }
1638
- if (branchName) {
1640
+ if (branchName && branchName !== constants.SOCKET_DEFAULT_BRANCH) {
1639
1641
  env['SOCKET_BRANCH_NAME'] = branchName;
1640
1642
  }
1641
1643
 
@@ -15523,5 +15525,5 @@ void (async () => {
15523
15525
  await utils.captureException(e);
15524
15526
  }
15525
15527
  })();
15526
- //# debugId=3c044a06-e0dd-4f21-8310-181cc22dc4c0
15528
+ //# debugId=4aa5144b-0661-4dab-a2f9-048f567608a4
15527
15529
  //# sourceMappingURL=cli.js.map