Skip to content

Commit 317084f

Browse files
authored
Merge pull request #33 from betocantu93/patch-2
Update assertion to match README
2 parents c849407 + a671c9c commit 317084f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

addon/helpers/set.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ function set(positional) {
66
let [target, path, maybeValue] = positional;
77

88
assert(
9-
'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"}}`',
9+
'you must pass a path to {{set}}. You can pass a path statically, as in `{{set this "foo"}}`, or with the path dynamically, as in `{{set this this.greetingPath "Hello"}}`',
1010
(typeof path === 'string' && path.length > 0 || typeof path === 'symbol' || typeof path === 'number')
1111
);
1212

0 commit comments

Comments
 (0)