@socketsecurity/cli-with-sentry 1.0.28 → 1.0.30
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: '
|
|
3112
|
+
stdio: 'inherit'
|
|
3113
3113
|
};
|
|
3114
3114
|
logger.logger.dir({
|
|
3115
3115
|
branch,
|
|
@@ -4094,6 +4094,12 @@ async function agentFix(pkgEnvDetails, actualTree, alertsMap, installer, {
|
|
|
4094
4094
|
|
|
4095
4095
|
// Check repoInfo to make TypeScript happy.
|
|
4096
4096
|
if (!errored && fixEnv.isCi && fixEnv.repoInfo) {
|
|
4097
|
+
// eslint-disable-next-line no-await-in-loop
|
|
4098
|
+
const unstagedCResult = await gitUnstagedModifiedFiles(cwd);
|
|
4099
|
+
const moddedFilepaths = unstagedCResult.ok ? unstagedCResult.data.filter(filepath => {
|
|
4100
|
+
const basename = path.basename(filepath);
|
|
4101
|
+
return basename === 'package.json' || basename === pkgEnvDetails.lockName;
|
|
4102
|
+
}) : [];
|
|
4097
4103
|
try {
|
|
4098
4104
|
if (
|
|
4099
4105
|
// eslint-disable-next-line no-await-in-loop
|
|
@@ -14274,5 +14280,5 @@ void (async () => {
|
|
|
14274
14280
|
await utils.captureException(e);
|
|
14275
14281
|
}
|
|
14276
14282
|
})();
|
|
14277
|
-
//# debugId=
|
|
14283
|
+
//# debugId=fbee2915-dcd1-4373-bb7d-f9662140b7a7
|
|
14278
14284
|
//# sourceMappingURL=cli.js.map
|