Skip to content

Commit

Permalink
Fix invalid requiredStatement
Browse files Browse the repository at this point in the history
  • Loading branch information
martimpassos authored Apr 18, 2024
1 parent fa1dd58 commit 73a738a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/resource.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ class Resource {
this.summary && manifest.addSummary(this.summary)
this.rights && manifest.setRights(this.rights);
this.requiredstatementValue && manifest.setRequiredStatement({
label: this.options.requiredStatementLabel,
value: `${this.options.requiredStatementText} ${this.assembleHTML('requiredstatementValue')}`.trim() //Remove eventual leading whitespace
label: {"none": [this.options.requiredStatementLabel]},
value: {"none": [`${this.options.requiredStatementText} ${this.assembleHTML('requiredstatementValue')}`.trim()]} //Remove eventual leading whitespace
})
manifest.setHomepage({
id: this.homepageValue,
Expand Down Expand Up @@ -180,4 +180,4 @@ class Resource {
}
}

module.exports = { Resource }
module.exports = { Resource }

0 comments on commit 73a738a

Please sign in to comment.