fix(providence): provide right ast to oxcTraverse
This commit is contained in:
parent
50170d4edc
commit
87ba78e6da
2 changed files with 6 additions and 1 deletions
5
.changeset/nervous-worms-beg.md
Normal file
5
.changeset/nervous-worms-beg.md
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'providence-analytics': patch
|
||||
---
|
||||
|
||||
fix: provide right ast to oxcTraverse
|
||||
|
|
@ -313,7 +313,7 @@ async function trackDownIdentifierFn(
|
|||
ExportDeclaration: handleExportDeclOrNamedDecl,
|
||||
};
|
||||
|
||||
oxcTraverse(oxcAst.program, visitor, { needsAdvancedPaths: true });
|
||||
oxcTraverse(oxcAst, visitor, { needsAdvancedPaths: true });
|
||||
|
||||
if (pendingTrackDownPromise) {
|
||||
// We can't handle promises inside Babel traverse, so we do it here...
|
||||
|
|
|
|||
Loading…
Reference in a new issue