Skip to content

Commit

Permalink
fix: better delete message note in commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
Mara-Li committed Dec 9, 2022
1 parent 3b38950 commit 623bdf6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions plugin/publishing/delete.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,10 @@ async function deleteFromGithubOneRepo(
);
const isMarkdownForAnotherRepo = file.file.trim().endsWith(".md")
? !allSharedConverted.some(
(f) =>
f.converted === file.file &&
(f) =>
f.converted === file.file &&
JSON.stringify(f.repo) == JSON.stringify(repo)
)
)
: false;
const isNeedToBeDeleted = isInObsidian
? isMarkdownForAnotherRepo
Expand All @@ -123,7 +123,7 @@ async function deleteFromGithubOneRepo(
owner: repo.owner,
repo: repo.repo,
path: file.file,
message: "Delete file",
message: `DELETE FILE : ${file.file}`,
sha: file.sha,
branch: branchName,
}
Expand Down

0 comments on commit 623bdf6

Please sign in to comment.