@socketsecurity/cli-with-sentry 1.0.27 → 1.0.29

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
@@ -3109,7 +3109,7 @@ async function gitCreateAndPushBranch(branch, commitMsg, filepaths, options) {
3109
3109
  };
3110
3110
  const stdioIgnoreOptions = {
3111
3111
  cwd,
3112
- stdio: 'ignore'
3112
+ stdio: 'inherit'
3113
3113
  };
3114
3114
  logger.logger.dir({
3115
3115
  branch,
@@ -3127,10 +3127,14 @@ async function gitCreateAndPushBranch(branch, commitMsg, filepaths, options) {
3127
3127
  await spawn.spawn('git', ['push', '--force', '--set-upstream', 'origin', branch], stdioIgnoreOptions);
3128
3128
  return true;
3129
3129
  } catch (e) {
3130
- debug.debugFn('error', `caught: git push --force --set-upstream origin ${branch} failed`);
3131
- debug.debugDir('inspect', {
3130
+ logger.logger.dir({
3132
3131
  error: e
3133
3132
  });
3133
+ // debugFn(
3134
+ // 'error',
3135
+ // `caught: git push --force --set-upstream origin ${branch} failed`,
3136
+ // )
3137
+ // debugDir('inspect', { error: e })
3134
3138
  }
3135
3139
  try {
3136
3140
  // Will throw with exit code 1 if branch does not exist.
@@ -14270,5 +14274,5 @@ void (async () => {
14270
14274
  await utils.captureException(e);
14271
14275
  }
14272
14276
  })();
14273
- //# debugId=ff82c46c-5bf8-44ec-aebc-01c78fea3570
14277
+ //# debugId=63677e9d-9391-455a-b4c6-9d3432210895
14274
14278
  //# sourceMappingURL=cli.js.map