summaryrefslogtreecommitdiff
path: root/ext/node/ops/os.rs
diff options
context:
space:
mode:
authorDivy Srivastava <dj.srivastava23@gmail.com>2023-10-31 05:38:39 -0700
committerGitHub <noreply@github.com>2023-10-31 12:38:39 +0000
commitedee8ab95d28abfce5606ab35e02b7c7ace2cf8d (patch)
tree945ab7e76fb71321775e110cc6f8fc7ab34de764 /ext/node/ops/os.rs
parentba6bd444b60606f96dd7b2edb1b14aeae22b5016 (diff)
chore: use deno_whoami (#21027)
Towards #20996 `deno_whoami` is lightweight on unix and has zero framework dependency on macOS. https://github.com/denoland/deno_whoami --------- Signed-off-by: Divy Srivastava <dj.srivastava23@gmail.com>
Diffstat (limited to 'ext/node/ops/os.rs')
-rw-r--r--ext/node/ops/os.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/node/ops/os.rs b/ext/node/ops/os.rs
index de44e857b..9fb0b44e1 100644
--- a/ext/node/ops/os.rs
+++ b/ext/node/ops/os.rs
@@ -49,7 +49,7 @@ where
permissions.check_sys("userInfo", "node:os.userInfo()")?;
}
- Ok(whoami::username())
+ Ok(deno_whoami::username())
}
#[cfg(unix)]