Skip to content

Commit

Permalink
fix: graph gen for version-less packages
Browse files Browse the repository at this point in the history
  • Loading branch information
gabidobo committed Sep 28, 2023
1 parent 8060c46 commit bce6293
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/graph/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ const processDependenciesForPackage = ({

const processPlaceholders = ({newPackage, placeholders}) => {
let newVersion = newPackage.version;
if (newVersion.startsWith('v')) {
if (newVersion && newVersion.startsWith('v')) {
newVersion = newVersion.slice(1);
}
placeholders
Expand Down

0 comments on commit bce6293

Please sign in to comment.