@storm-software/git-tools 2.131.149 → 2.132.0

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.cjs CHANGED
@@ -3175,8 +3175,8 @@ async function format3(path, data) {
3175
3175
  }
3176
3176
  return code;
3177
3177
  }
3178
- async function formatChangedFiles(tree) {
3179
- if (process.env.NX_SKIP_FORMAT === "true") {
3178
+ async function formatChangedFiles(tree, skipFormatting = false) {
3179
+ if (skipFormatting || process.env.NX_SKIP_FORMAT === "true") {
3180
3180
  return;
3181
3181
  }
3182
3182
  const files = new Set(
@@ -5656,7 +5656,12 @@ ${Object.keys(allProjectChangelogs).map((p) => ` - ${p}`).join("\n")}
5656
5656
  processor.flushAllProjectLoggers();
5657
5657
  throw err;
5658
5658
  }
5659
- await formatChangedFiles(this.tree);
5659
+ await formatChangedFiles(
5660
+ this.tree,
5661
+ releaseGraph.releaseGroups.some(
5662
+ (releaseGroup) => "skipFormatting" in releaseGroup && releaseGroup.skipFormatting === true
5663
+ )
5664
+ );
5660
5665
  printChanges.printAndFlushChanges(this.tree, !!options.dryRun);
5661
5666
  const { changedFiles: changed, deletedFiles: deleted } = await processor.afterAllProjectsVersioned({
5662
5667
  ...this.releaseConfig.version.versionActionsOptions,