From 4508bee9f480e6a7faaa50e8e2b2d1c42c24a5e3 Mon Sep 17 00:00:00 2001 From: aviac Date: Tue, 19 Sep 2023 21:51:31 +0200 Subject: [PATCH] chore: fix error message to be less misleading --- src/unix.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/unix.rs b/src/unix.rs index 2e40674..609abba 100644 --- a/src/unix.rs +++ b/src/unix.rs @@ -82,7 +82,7 @@ fn open_browser_default(target: &TargetType, options: &BrowserOptions) -> Result .map_err(|_| { Error::new( ErrorKind::NotFound, - "No valid browsers detected. You can specify one in BROWSERS environment variable", + "No valid browsers detected. You can specify one in BROWSER environment variable", ) }) // and convert a successful result into a ()