Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion packages/core/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,11 @@ const isMuslFromFilesystem = () => {
}

const isMuslFromReport = () => {
const report = typeof process.report.getReport === 'function' ? process.report.getReport() : null
let report = null
if (typeof process.report?.getReport === 'function') {
process.report.excludeNetwork = true
report = process.report.getReport()
}
if (!report) {
return null
}
Expand Down
2 changes: 0 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -260,8 +260,6 @@ fn oxc_transform<S: TryAsStr>(
));
}
let scoping = SemanticBuilder::new()
// Turn off in the future
.with_scope_tree_child_ids(true)
.build(&program)
.semantic
.into_scoping();
Expand Down