Skip to content

Commit 0b82718

Browse files
committed
fix Object.assign error when importing package.json with Bun
1 parent 48c7ce4 commit 0b82718

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/dd-trace/src/pkg.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ function findUp (name, root, directory) {
4141
}
4242
}
4343

44-
module.exports = Object.assign(findPkg(), { findRoot, findUp })
44+
module.exports = Object.assign({}, findPkg(), { findRoot, findUp })

0 commit comments

Comments
 (0)