@socketsecurity/cli-with-sentry 1.0.30 → 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,9 +3239,12 @@ 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
- data: rawRelPaths.map(relPath => path$1.normalizePath(relPath))
3247
+ data: rawRelPaths.map(p => path$1.normalizePath(p))
3245
3248
  };
3246
3249
  } catch (e) {
3247
3250
  debug.debugFn('error', 'caught: git diff --name-only failed');
@@ -14280,5 +14283,5 @@ void (async () => {
14280
14283
  await utils.captureException(e);
14281
14284
  }
14282
14285
  })();
14283
- //# debugId=fbee2915-dcd1-4373-bb7d-f9662140b7a7
14286
+ //# debugId=30522d04-576a-41e2-8e9f-b79051ac257b
14284
14287
  //# sourceMappingURL=cli.js.map