Skip to content

Commit

Permalink
Reformat dependency updates in changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
georgechoustoulakis committed Feb 21, 2024
1 parent 2580c8d commit 2790b65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .changeset/format.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ const getDependencyReleaseLine = async (changesets, dependenciesUpdated, changel
if (dependenciesUpdated.length === 0) return "";

const updatedDependenciesList = dependenciesUpdated.map(
(dependency) => ` - ${dependency.name}@${dependency.newVersion}`
(dependency) => `- ${dependency.name}@${dependency.newVersion}`
);
return [['- Updated dependencies:'], ...updatedDependenciesList].join("\n");
return `\n### 📦 Dependency Updates\n\n${updatedDependenciesList.join("\n")}`;
}

/**
Expand Down

0 comments on commit 2790b65

Please sign in to comment.