You've already forked AstralRinth
forked from didirus/AstralRinth
Fix custom license erroring with spaces (#905)
This commit is contained in:
@@ -193,8 +193,8 @@ export default {
|
|||||||
id += this.license.short
|
id += this.license.short
|
||||||
if (this.license.requiresOnlyOrLater)
|
if (this.license.requiresOnlyOrLater)
|
||||||
id += this.allowOrLater ? '-or-later' : '-only'
|
id += this.allowOrLater ? '-or-later' : '-only'
|
||||||
if (this.nonSpdxLicense && this.license.short === 'Custom')
|
if (this.nonSpdxLicense && this.license.friendly === 'Custom')
|
||||||
id.replaceAll(' ', '-')
|
id = id.replaceAll(' ', '-')
|
||||||
return id
|
return id
|
||||||
},
|
},
|
||||||
defaultLicenses() {
|
defaultLicenses() {
|
||||||
|
|||||||
Reference in New Issue
Block a user