@socketsecurity/cli-with-sentry 1.0.31 → 1.0.32

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
@@ -3239,6 +3239,9 @@ async function gitUnstagedModifiedFiles(cwd = process.cwd()) {
3239
3239
  };
3240
3240
  const changedFilesDetails = (await spawn.spawn('git', ['diff', '--name-only'], stdioPipeOptions)).stdout;
3241
3241
  const rawRelPaths = changedFilesDetails.split('\n') ?? [];
3242
+ console.log({
3243
+ rawRelPaths
3244
+ });
3242
3245
  return {
3243
3246
  ok: true,
3244
3247
  data: rawRelPaths.map(p => path$1.normalizePath(p))
@@ -4097,7 +4100,6 @@ async function agentFix(pkgEnvDetails, actualTree, alertsMap, installer, {
4097
4100
  // eslint-disable-next-line no-await-in-loop
4098
4101
  const unstagedCResult = await gitUnstagedModifiedFiles(cwd);
4099
4102
  const moddedFilepaths = unstagedCResult.ok ? unstagedCResult.data.filter(filepath => {
4100
- logger.logger.log('filepath', filepath);
4101
4103
  const basename = path.basename(filepath);
4102
4104
  return basename === 'package.json' || basename === pkgEnvDetails.lockName;
4103
4105
  }) : [];
@@ -14281,5 +14283,5 @@ void (async () => {
14281
14283
  await utils.captureException(e);
14282
14284
  }
14283
14285
  })();
14284
- //# debugId=d97d8015-9018-427d-acb9-19568bd58a97
14286
+ //# debugId=30522d04-576a-41e2-8e9f-b79051ac257b
14285
14287
  //# sourceMappingURL=cli.js.map