@storm-software/git-tools 2.131.150 → 2.132.1

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/bin/git.js CHANGED
@@ -3153,8 +3153,8 @@ async function format3(path, data) {
3153
3153
  }
3154
3154
  return code;
3155
3155
  }
3156
- async function formatChangedFiles(tree) {
3157
- if (process.env.NX_SKIP_FORMAT === "true") {
3156
+ async function formatChangedFiles(tree, skipFormatting = false) {
3157
+ if (skipFormatting || process.env.NX_SKIP_FORMAT === "true") {
3158
3158
  return;
3159
3159
  }
3160
3160
  const files = new Set(
@@ -5634,7 +5634,12 @@ ${Object.keys(allProjectChangelogs).map((p) => ` - ${p}`).join("\n")}
5634
5634
  processor.flushAllProjectLoggers();
5635
5635
  throw err;
5636
5636
  }
5637
- await formatChangedFiles(this.tree);
5637
+ await formatChangedFiles(
5638
+ this.tree,
5639
+ releaseGraph.releaseGroups.some(
5640
+ (releaseGroup) => "skipFormatting" in releaseGroup && releaseGroup.skipFormatting === true
5641
+ )
5642
+ );
5638
5643
  printAndFlushChanges(this.tree, !!options.dryRun);
5639
5644
  const { changedFiles: changed, deletedFiles: deleted } = await processor.afterAllProjectsVersioned({
5640
5645
  ...this.releaseConfig.version.versionActionsOptions,