Skip to content
This repository has been archived by the owner on Mar 15, 2024. It is now read-only.

Commit

Permalink
fix: no longer log undefined for the source url
Browse files Browse the repository at this point in the history
  • Loading branch information
lachrist committed Mar 3, 2023
1 parent 118df00 commit e5caf45
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion components/classmap/default/module.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,13 @@ export const createModule = ({
};

export const lookupModuleClosure = (
{ estree: { filename }, infos, references },
{
estree: {
loc: { filename },
},
infos,
references,
},
position,
) => {
const position_string = stringifyPosition(position);
Expand Down

0 comments on commit e5caf45

Please sign in to comment.