Skip to content

Commit

Permalink
run fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
prsabahrami committed Oct 9, 2024
1 parent 7c87a91 commit b8960ae
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion crates/deno_task_shell/src/shell/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,10 @@ impl ShellState {

pub fn get_var(&self, name: &str) -> Option<&String> {
let (original_name, updated_name) = if cfg!(windows) {
(Cow::Owned(name.to_string()), Cow::Owned(name.to_uppercase()))
(
Cow::Owned(name.to_string()),
Cow::Owned(name.to_uppercase()),
)
} else {
(Cow::Borrowed(name), Cow::Borrowed(name))
};
Expand Down

0 comments on commit b8960ae

Please sign in to comment.