@socketsecurity/cli-with-sentry 1.0.26 → 1.0.28
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 +8 -4
- package/dist/cli.js.map +1 -1
- package/dist/constants.js +3 -3
- package/dist/constants.js.map +1 -1
- package/dist/types/commands/fix/git.d.mts.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -3111,7 +3111,7 @@ async function gitCreateAndPushBranch(branch, commitMsg, filepaths, options) {
|
|
|
3111
3111
|
cwd,
|
|
3112
3112
|
stdio: 'ignore'
|
|
3113
3113
|
};
|
|
3114
|
-
|
|
3114
|
+
logger.logger.dir({
|
|
3115
3115
|
branch,
|
|
3116
3116
|
user,
|
|
3117
3117
|
email,
|
|
@@ -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
|
-
|
|
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=
|
|
14277
|
+
//# debugId=ca8af780-77db-4fe8-bc51-2e9c45955987
|
|
14274
14278
|
//# sourceMappingURL=cli.js.map
|