Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 14, 2024
1 parent 4bf6757 commit 73d7617
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ namespace Private {
return {
Name: newName('GLTF', model),
//@ts-expect-error wip
Object: selected.length > 0 ? selected[0] : objects[0].name ?? '',
Object: selected.length > 0 ? selected[0] : (objects[0].name ?? ''),
Enabled: true
};
},
Expand Down

0 comments on commit 73d7617

Please sign in to comment.