Skip to content

Commit

Permalink
docs: add api-repositories-response to clean-packs
Browse files Browse the repository at this point in the history
  • Loading branch information
addetz committed Nov 11, 2024
1 parent 67bda75 commit f92f2f5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ clean-versions: ## Clean Docusarus content versions
clean-packs: ## Clean supplemental packs and pack images
rm -rf static/img/packs
rm -rf .docusaurus/packs-integrations/api_pack_response.json
rm -rf .docusaurus/packs-integrations/api_repositories_response.json

clean-api: ## Clean API docs
@echo "cleaning api docs"
Expand Down
4 changes: 2 additions & 2 deletions plugins/packs-integrations.js
Original file line number Diff line number Diff line change
Expand Up @@ -348,8 +348,8 @@ async function mapRepositories(repositories) {
}
});
} finally {
close(fd, (err) => {
if (err) logger.error("An error occurred while closing the file:", err);
close(fd, (err1) => {
if (err1) logger.error("An error occurred while closing the file:", err1);
});
}
});
Expand Down

0 comments on commit f92f2f5

Please sign in to comment.