Skip to content

Commit

Permalink
chore: formatting issue fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lifeart committed Dec 11, 2023
1 parent 78c69d0 commit e51cd21
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions addon/utils/ref.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@ function toWeakRefIfSupported(node) {
if (node === null || node === undefined) {
return null;
}
if(hasWeakRef)
{
if (hasWeakRef) {
if (node instanceof WeakRef) {

Check warning on line 43 in addon/utils/ref.js

View workflow job for this annotation

GitHub Actions / Lint

'WeakRef' is not defined
return node;
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ember-ref-bucket",
"version": "5.0.5",
"version": "5.0.6",
"description": "Ember DOM reference modifiers, helpers and decorators",
"keywords": [
"ember-addon",
Expand Down

0 comments on commit e51cd21

Please sign in to comment.