Skip to content

Commit a4e856a

Browse files
committed
fix: use require for binary extensions
1 parent 742af77 commit a4e856a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

workspaces/libnpmdiff/lib/should-print-patch.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const shouldPrintPatch = async (path, opts = {}) => {
77
return true
88
}
99

10-
const { default: binaryExtensions } = await import('binary-extensions')
10+
const binaryExtensions = require('binary-extensions').default
1111

1212
const filename = basename(path)
1313
const extension = (

0 commit comments

Comments
 (0)