Skip to content

Commit 212fcc3

Browse files
dilawarXenira
andauthored
Update crates/cli/src/lib.rs
remove commented out line Co-authored-by: Xenira <[email protected]>
1 parent ca726a1 commit 212fcc3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

crates/cli/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,6 @@ fn write_to_file(content: String, filepath: &PathBuf) -> anyhow::Result<()> {
635635

636636
#[cfg(unix)]
637637
fn is_root() -> bool {
638-
// nix::unistd::Uid::effective().is_root()
639638
let uid = unsafe { libc::getuid() };
640639
let euid = unsafe { libc::geteuid() };
641640

0 commit comments

Comments
 (0)