From 7ce9a839fa57abdef2ec3da98779104ae9a609bf Mon Sep 17 00:00:00 2001 From: Viktor Rusakov <52399399+viktorrusakov@users.noreply.github.com> Date: Mon, 25 Sep 2023 15:52:53 +0300 Subject: [PATCH] docs: fix Paragon's version generation in dependent-usage.json (#2658) --- dependent-usage-analyzer/index.js | 2 +- dependent-usage.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dependent-usage-analyzer/index.js b/dependent-usage-analyzer/index.js index 386649b74d..a12084ddd4 100644 --- a/dependent-usage-analyzer/index.js +++ b/dependent-usage-analyzer/index.js @@ -40,7 +40,7 @@ function getDependencyVersion(dir, options = {}) { const { projectsDir } = options; if (dir === projectsDir) { // At the top-level directory containing all projects; Paragon version not found. - return {}; + return ""; } const parentDir = dir.split('/').slice(0, -1).join('/'); if (!fs.existsSync(`${dir}/${packageFilename}`)) { diff --git a/dependent-usage.json b/dependent-usage.json index a8a3cdb39f..eeab48922d 100644 --- a/dependent-usage.json +++ b/dependent-usage.json @@ -38991,7 +38991,7 @@ } }, { - "version": {}, + "version": "", "name": "@edx/gatsby-react-app", "repository": { "type": "git",