summaryrefslogtreecommitdiff
path: root/std/node/os.ts
diff options
context:
space:
mode:
authorecyrbe <ecyrbe@gmail.com>2020-02-24 14:35:45 +0100
committerGitHub <noreply@github.com>2020-02-24 08:35:45 -0500
commitfb08cf7005c9dc781d51c7d02ae06060e44d32a3 (patch)
tree2a74abd57187a1b0015fd1d1873c10399e60fccd /std/node/os.ts
parentfe9ac35a650dfeea9168fc1cbbbf323b5689fc3b (diff)
Add missing node os.release() implementation (#4065)
Diffstat (limited to 'std/node/os.ts')
-rw-r--r--std/node/os.ts4
1 files changed, 2 insertions, 2 deletions
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 */