Skip to content

Commit 3018456

Browse files
authored
stop including empty updates in changeset (#186)
1 parent 34f4fbd commit 3018456

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/github.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1471,7 +1471,7 @@ export class GitHub {
14711471
contentText,
14721472
this.logger
14731473
);
1474-
if (updatedContent) {
1474+
if (updatedContent !== contentText) {
14751475
changes.set(update.path, {
14761476
content: updatedContent,
14771477
originalContent: content?.parsedContent || null,

0 commit comments

Comments
 (0)