We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ef3251 commit 0fab4e6Copy full SHA for 0fab4e6
src/changelog.ts
@@ -146,7 +146,10 @@ export function generate(): string {
146
others,
147
} = diffTypes(previous, current);
148
149
- const outputs = [writeAddedRemoved(added, removed)];
+ const outputs = [];
150
+ if (added.size || removed.size) {
151
+ outputs.push(writeAddedRemoved(added, removed));
152
+ }
153
if (modified.size) {
154
const modifiedOutput = [`## Modified\n`];
155
for (const [key, value] of modified.entries()) {
0 commit comments