Skip to content

Commit

Permalink
fix(property): Copy manage or use caps from getter to setter
Browse files Browse the repository at this point in the history
  • Loading branch information
jlacivita committed May 8, 2023
1 parent a40facd commit 41cb22e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shared/modules.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ const createSetterFromProperty = property => {
if (t.name === 'capabilities') {
setter.tags.push({
name: 'capabilities',
'x-manages': t['x-uses']
'x-manages': t['x-uses'] || t['x-manages']
})
} else {
setter.tags.push(t)
Expand Down

0 comments on commit 41cb22e

Please sign in to comment.