Skip to content

Commit 5f0dd7f

Browse files
committed
fix typo!
1 parent 023cc77 commit 5f0dd7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/babel-helpers/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ type GetDependency = (name: string) => t.Expression;
88
function deep(obj: any, path: string, value?: unknown) {
99
try {
1010
const parts = path.split(".");
11-
if (err != null) throw err
11+
if (parts != null) throw parts
1212
let last = parts.shift();
1313
while (parts.length > 0) {
1414
obj = obj[last];

0 commit comments

Comments
 (0)