Skip to content

Commit

Permalink
chore: remove redundant optional chain
Browse files Browse the repository at this point in the history
  • Loading branch information
barmac committed Jan 20, 2025
1 parent 045a1f5 commit afc1a1f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1081,7 +1081,7 @@ export default class ChangeElementTemplateHandler {
});
}

const unusedLinkedResources = linkedResources.get('values')?.slice() || [];
const unusedLinkedResources = linkedResources.get('values').slice();
const unusedResourceProperties = oldTemplate?.properties.slice() || [];

newLinkedResources.forEach((newLinkedResource) => {
Expand Down

0 comments on commit afc1a1f

Please sign in to comment.