Skip to content

Commit a45e4cd

Browse files
authored
Merge pull request #2792 from Seeker14491/update-opener
Update `opener` crate
2 parents 2d37670 + 09a4351 commit a45e4cd

File tree

3 files changed

+22
-4
lines changed

3 files changed

+22
-4
lines changed

Cargo.lock

Lines changed: 20 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ home = {git = "https://github.com/rbtcollins/home", rev = "a243ee2fbee6022c57d56
3939
lazy_static = "1"
4040
libc = "0.2"
4141
num_cpus = "1.13"
42-
opener = "0.4.0"
42+
opener = "0.5.0"
4343
# Used by `curl` or `reqwest` backend although it isn't imported
4444
# by our rustup.
4545
openssl = {version = "0.10", optional = true}

src/utils/utils.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ pub fn read_dir(name: &'static str, path: &Path) -> Result<fs::ReadDir> {
416416
}
417417

418418
pub fn open_browser(path: &Path) -> Result<()> {
419-
opener::open(path).context("couldn't open browser")
419+
opener::open_browser(path).context("couldn't open browser")
420420
}
421421

422422
pub fn set_permissions(path: &Path, perms: fs::Permissions) -> Result<()> {

0 commit comments

Comments
 (0)