Skip to content

Commit

Permalink
feat(username): Detect Admin access in Windows (starship#2791)
Browse files Browse the repository at this point in the history
* Detect Admin access in Windows

* Update username doc

* Do not run tests when elevated

* Add comment

* Try fixing tests

* use deelevate crate

* simplify cfg

* Update src/modules/username.rs

Fix rookie mistake

Co-authored-by: David Knaack <[email protected]>

* handle errors

* fix lockfile error

Co-authored-by: David Knaack <[email protected]>
  • Loading branch information
rashil2000 and davidkna authored Apr 1, 2022
1 parent 18ad26f commit c89c130
Show file tree
Hide file tree
Showing 4 changed files with 496 additions and 81 deletions.
Loading

0 comments on commit c89c130

Please sign in to comment.