Skip to content

Commit

Permalink
docs: fix Paragon's version generation in dependent-usage.json (#2658)
Browse files Browse the repository at this point in the history
  • Loading branch information
viktorrusakov authored Sep 25, 2023
1 parent 9869b9f commit 7ce9a83
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dependent-usage-analyzer/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}`)) {
Expand Down
2 changes: 1 addition & 1 deletion dependent-usage.json
Original file line number Diff line number Diff line change
Expand Up @@ -38991,7 +38991,7 @@
}
},
{
"version": {},
"version": "",
"name": "@edx/gatsby-react-app",
"repository": {
"type": "git",
Expand Down

0 comments on commit 7ce9a83

Please sign in to comment.