@socketsecurity/cli-with-sentry 1.0.29 → 1.0.30

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
@@ -4094,6 +4094,12 @@ async function agentFix(pkgEnvDetails, actualTree, alertsMap, installer, {
4094
4094
 
4095
4095
  // Check repoInfo to make TypeScript happy.
4096
4096
  if (!errored && fixEnv.isCi && fixEnv.repoInfo) {
4097
+ // eslint-disable-next-line no-await-in-loop
4098
+ const unstagedCResult = await gitUnstagedModifiedFiles(cwd);
4099
+ const moddedFilepaths = unstagedCResult.ok ? unstagedCResult.data.filter(filepath => {
4100
+ const basename = path.basename(filepath);
4101
+ return basename === 'package.json' || basename === pkgEnvDetails.lockName;
4102
+ }) : [];
4097
4103
  try {
4098
4104
  if (
4099
4105
  // eslint-disable-next-line no-await-in-loop
@@ -14274,5 +14280,5 @@ void (async () => {
14274
14280
  await utils.captureException(e);
14275
14281
  }
14276
14282
  })();
14277
- //# debugId=63677e9d-9391-455a-b4c6-9d3432210895
14283
+ //# debugId=fbee2915-dcd1-4373-bb7d-f9662140b7a7
14278
14284
  //# sourceMappingURL=cli.js.map