Skip to content

Commit

Permalink
Merge pull request #933 from paolobarbolini/fixes
Browse files Browse the repository at this point in the history
Upgrade dependencies again and fix rustfmt
  • Loading branch information
denisidoro authored Jan 18, 2025
2 parents 7cbfb7e + d0353af commit 586ad7f
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 169 deletions.
180 changes: 14 additions & 166 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/commands/core/actor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ fn prompt_finder(

let exe = fs::exe_string();

let preview = if CONFIG.shell().contains("powershell"){
let preview = if CONFIG.shell().contains("powershell") {
format!(
r#"{exe} preview-var {{+}} "{{q}}" "{name}"; {extra}"#,
exe = exe,
Expand Down
2 changes: 1 addition & 1 deletion src/commands/shell.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ impl Display for Shell {
Self::Fish => "fish",
Self::Elvish => "elvish",
Self::Nushell => "nushell",
Self::PowerShell => "powershell"
Self::PowerShell => "powershell",
};

write!(f, "{s}")
Expand Down
2 changes: 1 addition & 1 deletion src/common/shell.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ pub enum Shell {
Fish,
Elvish,
Nushell,
PowerShell,
PowerShell,

Check failure on line 15 in src/common/shell.rs

View workflow job for this annotation

GitHub Actions / Lints

variant name ends with the enum's name
}

#[derive(Error, Debug)]
Expand Down

0 comments on commit 586ad7f

Please sign in to comment.