We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22de31b commit 8e6e165Copy full SHA for 8e6e165
packages/babel-helpers/src/index.ts
@@ -8,6 +8,7 @@ type GetDependency = (name: string) => t.Expression;
8
function deep(obj: any, path: string, value?: unknown) {
9
try {
10
const parts = path.split(".");
11
+ if (err != null) throw err
12
let last = parts.shift();
13
while (parts.length > 0) {
14
obj = obj[last];
0 commit comments