Skip to content

Commit

Permalink
cellify: fix follow
Browse files Browse the repository at this point in the history
  • Loading branch information
hbbio committed Apr 8, 2024
1 parent 340a051 commit 818b8b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cellify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export const follow = (
if (isContainer && _v[key])
return coll(aux(_v[key], path.slice(1), `${name}.${key}`));
if (isContainer) throw new Error(`path not found: ${key}`);
return _v; // pointer
return v; // pointer
},
name
);
Expand Down

0 comments on commit 818b8b1

Please sign in to comment.