@socketsecurity/cli-with-sentry 1.0.19 → 1.0.20

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
@@ -3972,12 +3972,12 @@ async function agentFix(pkgEnvDetails, actualTree, alertsMap, installer, {
3972
3972
  if (!errored && ciEnv?.repoInfo) {
3973
3973
  try {
3974
3974
  // eslint-disable-next-line no-await-in-loop
3975
- const result = await gitUnstagedModifiedFiles(cwd);
3976
- if (!result.ok) {
3975
+ const unstagedCResult = await gitUnstagedModifiedFiles(cwd);
3976
+ if (!unstagedCResult.ok) {
3977
3977
  logger.logger.warn('Unexpected condition: Nothing to commit, skipping PR creation.');
3978
3978
  continue;
3979
3979
  }
3980
- const moddedFilepaths = result.data.filter(filepath => {
3980
+ const moddedFilepaths = unstagedCResult.data.filter(filepath => {
3981
3981
  const basename = path.basename(filepath);
3982
3982
  return basename === 'package.json' || basename === pkgEnvDetails.lockName;
3983
3983
  });
@@ -14227,5 +14227,5 @@ void (async () => {
14227
14227
  await utils.captureException(e);
14228
14228
  }
14229
14229
  })();
14230
- //# debugId=32ad27b9-7ef0-4597-96b8-7dac14a0ff3e
14230
+ //# debugId=22ea4fe2-a3e7-46a5-b720-03c98211a8ec
14231
14231
  //# sourceMappingURL=cli.js.map