@socketsecurity/cli-with-sentry 1.0.25 → 1.0.26

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
@@ -3111,15 +3111,15 @@ async function gitCreateAndPushBranch(branch, commitMsg, filepaths, options) {
3111
3111
  cwd,
3112
3112
  stdio: 'ignore'
3113
3113
  };
3114
+ debug.debugFn('notice', {
3115
+ branch,
3116
+ user,
3117
+ email,
3118
+ cwd,
3119
+ filepaths,
3120
+ commitMsg
3121
+ });
3114
3122
  try {
3115
- debug.debugFn('notice', {
3116
- branch,
3117
- user,
3118
- email,
3119
- cwd,
3120
- filepaths,
3121
- commitMsg
3122
- });
3123
3123
  await gitEnsureIdentity(user, email, cwd);
3124
3124
  await spawn.spawn('git', ['checkout', '-b', branch], stdioIgnoreOptions);
3125
3125
  await spawn.spawn('git', ['add', ...filepaths], stdioIgnoreOptions);
@@ -3127,7 +3127,10 @@ 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\n`, e);
3130
+ debug.debugFn('error', `caught: git push --force --set-upstream origin ${branch} failed`);
3131
+ debug.debugDir('inspect', {
3132
+ error: e
3133
+ });
3131
3134
  }
3132
3135
  try {
3133
3136
  // Will throw with exit code 1 if branch does not exist.
@@ -14267,5 +14270,5 @@ void (async () => {
14267
14270
  await utils.captureException(e);
14268
14271
  }
14269
14272
  })();
14270
- //# debugId=9ac4c112-4476-4716-95d6-9211cc7e355c
14273
+ //# debugId=504e8f59-f19c-4f20-89f1-887377e904fb
14271
14274
  //# sourceMappingURL=cli.js.map