From 0a81ec6b1e00ef01900393ae0460eaf3a6ec05d6 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Sat, 20 Jun 2020 23:49:27 -0400 Subject: Remove Deno.dir and dirs dependency (#6385) --- std/node/os.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'std/node/os.ts') diff --git a/std/node/os.ts b/std/node/os.ts index 27b054f4d..7d072cac8 100644 --- a/std/node/os.ts +++ b/std/node/os.ts @@ -136,12 +136,12 @@ export function getPriority(pid = 0): number { /** Returns the string path of the current user's home directory. */ export function homedir(): string | null { - return Deno.dir("home"); + notImplemented(SEE_GITHUB_ISSUE); } /** Returns the host name of the operating system as a string. */ export function hostname(): string { - return Deno.hostname(); + notImplemented(SEE_GITHUB_ISSUE); } /** Returns an array containing the 1, 5, and 15 minute load averages */ @@ -182,7 +182,7 @@ export function setPriority(pid: number, priority?: number): void { /** Returns the operating system's default directory for temporary files as a string. */ export function tmpdir(): string | null { - return Deno.dir("tmp"); + notImplemented(SEE_GITHUB_ISSUE); } /** Not yet implemented */ -- cgit v1.2.3