Skip to content

Commit

Permalink
DO_NOT_MERGE what's going on on windows???
Browse files Browse the repository at this point in the history
  • Loading branch information
bengl committed Jun 2, 2023
1 parent 803e73e commit 3db4f92
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/get-exports.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ async function getExports (url, context, parentLoad) {
}

if (!source) {
console.log(url, new URL(url).pathname)
// Sometimes source is retrieved by parentLoad, sometimes it isn't.
source = fs.readFileSync(new URL(url).pathname, 'utf8')
}
Expand Down

0 comments on commit 3db4f92

Please sign in to comment.