summaryrefslogtreecommitdiff
path: root/std/node/module.ts
diff options
context:
space:
mode:
Diffstat (limited to 'std/node/module.ts')
-rw-r--r--std/node/module.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/std/node/module.ts b/std/node/module.ts
index 9203764f0..8969e80d9 100644
--- a/std/node/module.ts
+++ b/std/node/module.ts
@@ -758,7 +758,7 @@ function toRealPath(requestPath: string): string {
let fullPath = requestPath;
while (true) {
try {
- fullPath = Deno.readlinkSync(fullPath);
+ fullPath = Deno.readLinkSync(fullPath);
} catch {
break;
}