Skip to content

Commit

Permalink
Update set.js
Browse files Browse the repository at this point in the history
  • Loading branch information
RobbieTheWagner authored Aug 28, 2020
1 parent 471770b commit 5143db6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon/helpers/set.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function set(positional, named) {

assert(
'you must pass a path to {{set}}. You can pass a path statically, as in `{{set this.foo}}`, or with the path argument dynamically, as in `{{set this path="foo"}}`',
typeof path === 'string' && path.length > 0 || typeof path === 'symbol' || typeof path === 'number')
(typeof path === 'string' && path.length > 0 || typeof path === 'symbol' || typeof path === 'number')
);

return positional.length === 3
Expand Down

0 comments on commit 5143db6

Please sign in to comment.