@socketsecurity/cli-with-sentry 0.15.26 → 0.15.27
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 +3 -1
- package/dist/cli.js.map +1 -1
- package/dist/constants.js +3 -3
- package/dist/constants.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -3684,12 +3684,14 @@ async function gitEnsureIdentity(name, email, cwd = process.cwd()) {
|
|
|
3684
3684
|
cwd
|
|
3685
3685
|
};
|
|
3686
3686
|
const identEntries = [['user.email', name], ['user.name', email]];
|
|
3687
|
+
debug.debugLog('identEntries', identEntries);
|
|
3687
3688
|
await Promise.all(identEntries.map(async ({
|
|
3688
3689
|
0: prop,
|
|
3689
3690
|
1: value
|
|
3690
3691
|
}) => {
|
|
3691
3692
|
try {
|
|
3692
3693
|
const output = await spawn.spawn('git', ['config', '--get', prop], stdioPipeOptions);
|
|
3694
|
+
debug.debugLog(`git config --get ${prop}`, output.stdout.trim());
|
|
3693
3695
|
if (output.stdout.trim() !== value) {
|
|
3694
3696
|
await spawn.spawn('git', ['config', prop, value], stdioIgnoreOptions);
|
|
3695
3697
|
}
|
|
@@ -12702,5 +12704,5 @@ void (async () => {
|
|
|
12702
12704
|
await utils.captureException(e);
|
|
12703
12705
|
}
|
|
12704
12706
|
})();
|
|
12705
|
-
//# debugId=
|
|
12707
|
+
//# debugId=6146693d-aec6-4897-9f06-173f731fa9c8
|
|
12706
12708
|
//# sourceMappingURL=cli.js.map
|