We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f443a1 commit 192c3d3Copy full SHA for 192c3d3
lib/repo.js
@@ -210,9 +210,11 @@ Release.define({
210
console.log( "Updating package.json URLs..." );
211
json = Release.readPackage();
212
json.author.url = json.author.url.replace( "master", Release.newVersion );
213
- json.licenses.forEach(function( license ) {
214
- license.url = license.url.replace( "master", Release.newVersion );
215
- });
+ if ( json.licenses ) {
+ json.licenses.forEach(function( license ) {
+ license.url = license.url.replace( "master", Release.newVersion );
216
+ });
217
+ }
218
Release.writePackage( json );
219
220
Release.generateArtifacts(function( paths ) {
0 commit comments