Skip to content

Commit f2bfc83

Browse files
author
Mariusz Pasinski
committed
chore: rename originalPath parameter to originalId
1 parent 1cdc092 commit f2bfc83

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/host/src/node/babel-plugin/plugin.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ function tryResolveModulePath(id: string, from: string): string | undefined {
5757
export function replaceWithRequireNodeAddon3(
5858
p: NodePath,
5959
resolvedPath: string,
60-
originalPath: string
60+
originalId: string
6161
) {
6262
const { packageName, relativePath } = determineModuleContext(resolvedPath);
6363
const relPath = relativePath.replaceAll("\\", "/");
@@ -71,7 +71,7 @@ export function replaceWithRequireNodeAddon3(
7171
]),
7272
t.identifier("requireNodeAddon")
7373
),
74-
[finalRelPath, packageName, originalPath]
74+
[finalRelPath, packageName, originalId]
7575
.map(t.stringLiteral),
7676
)
7777
);

0 commit comments

Comments
 (0)