Skip to content

Commit

Permalink
fix: use packageJson.version instead of version
Browse files Browse the repository at this point in the history
  • Loading branch information
pichlermarc committed Nov 29, 2023
1 parent 90b3977 commit 41a5738
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/update-changelog.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ function findFirstPackageVersion(basePath){
}

if(packageJson.version != null){
return version;
return packageJson.version;
}

console.log('Version in', packageJsonPath, 'was null or undefined, skipping');
Expand Down

0 comments on commit 41a5738

Please sign in to comment.