Skip to content

Commit

Permalink
fix lints #build-linux
Browse files Browse the repository at this point in the history
  • Loading branch information
amodm committed Aug 16, 2023
1 parent 3da3e74 commit bdc640e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/unix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -200,14 +200,14 @@ fn try_wsl(options: &BrowserOptions, target: &TargetType) -> Result<()> {
"cmd.exe",
"/c",
"start",
url.replace("^", "^^").replace("&", "^&")
url.replace('^', "^^").replace('&', "^&")
)
.or_else(|_| {
try_browser!(
options,
"powershell.exe",
"Start",
url.replace("&", "\"&\"")
url.replace('&', "\"&\"")
)
})
.or_else(|_| try_browser!(options, "wsl-open", url))
Expand Down

0 comments on commit bdc640e

Please sign in to comment.