Skip to content

Commit

Permalink
fix: share multiple never check if autoclean is allowed
Browse files Browse the repository at this point in the history
see [Bug]: Refresh published and upload new notes -> "Repo empty"-Error #87
  • Loading branch information
Mara-Li authored Jan 23, 2023
1 parent d4696af commit 76720b3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugin/publishing/delete.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ async function deleteFromGithubOneRepo(
filesManagement: FilesManagement,
repo: RepoFrontmatter
): Promise<boolean> {
if (!repo.autoclean) return;
const getAllFile = await filesManagement.getAllFileFromRepo(
branchName,
octokit,
Expand Down

0 comments on commit 76720b3

Please sign in to comment.