From 0103b6e856a0f171665ac50d3d8a3978e1aee6a9 Mon Sep 17 00:00:00 2001 From: Raj Varsani Date: Sat, 23 Dec 2023 23:17:48 +0530 Subject: [PATCH] fix: deletion with updated file hash --- package.json | 2 +- src/Repoverse.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index d4d0b3e..79ff468 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "repoverse", - "version": "1.0.1", + "version": "1.0.2", "description": "Tool for syncronising common code across multiple repositories", "main": "./lib/index.js", "files": [ diff --git a/src/Repoverse.ts b/src/Repoverse.ts index e773945..bb92213 100644 --- a/src/Repoverse.ts +++ b/src/Repoverse.ts @@ -262,7 +262,7 @@ class Repoverse { owner, repo, targetFilePath, - file.sha, + targetFileSha, syncBranchName ); }