Skip to content

Commit

Permalink
Update commitMultipleFiles.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
tresabhi authored Dec 1, 2024
1 parent 4218626 commit ede1c90
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions packages/scripts/src/core/github/commitMultipleFiles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,8 @@ export async function commitMultipleFiles(

// we discard blob if they're the same size; it's unlikely their
// contents will be different; I love playing russian roulette!
if (
buffer.length !== change.content.length &&
!buffer.equals(change.content)
) {
const equal = buffer.length === change.content.length || buffer.equals(change.content);
if (!equal) {
const diff = change.content.length - buffer.length;

console.log(
Expand Down

0 comments on commit ede1c90

Please sign in to comment.