diff --git a/Makefile b/Makefile index 8ef452d7759..58b5199ae5a 100644 --- a/Makefile +++ b/Makefile @@ -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" diff --git a/plugins/packs-integrations.js b/plugins/packs-integrations.js index 6a82ea7fd50..b7796252c6e 100644 --- a/plugins/packs-integrations.js +++ b/plugins/packs-integrations.js @@ -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); }); } });