From fb08cf7005c9dc781d51c7d02ae06060e44d32a3 Mon Sep 17 00:00:00 2001 From: ecyrbe Date: Mon, 24 Feb 2020 14:35:45 +0100 Subject: Add missing node os.release() implementation (#4065) --- std/node/os.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'std/node/os.ts') diff --git a/std/node/os.ts b/std/node/os.ts index 39209b4b7..f34551da9 100644 --- a/std/node/os.ts +++ b/std/node/os.ts @@ -161,9 +161,9 @@ export function platform(): string { return process.platform; } -/** Not yet implemented */ +/** Returns the operating system as a string */ export function release(): string { - notImplemented(SEE_GITHUB_ISSUE); + return Deno.osRelease(); } /** Not yet implemented */ -- cgit v1.2.3