From 8eae8c60249a0e61cec5847f4316b502c78be320 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ho=C3=A0ng=20=C4=90=E1=BB=A9c=20Hi=E1=BA=BFu?= Date: Tue, 19 Oct 2021 14:37:45 +0700 Subject: [PATCH] Reword `sh` not found error messages (#1002) --- src/error.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/error.rs b/src/error.rs index f7da998..be044f0 100644 --- a/src/error.rs +++ b/src/error.rs @@ -253,17 +253,17 @@ impl<'src> ColorDisplay for Error<'src> { match io_error.kind() { io::ErrorKind::NotFound => write!( f, - "Backtick could not be run because just could not find `sh`:\n{}", + "Backtick could not be run because just could not find the shell:\n{}", io_error ), io::ErrorKind::PermissionDenied => write!( f, - "Backtick could not be run because just could not run `sh`:\n{}", + "Backtick could not be run because just could not run the shell:\n{}", io_error ), _ => write!( f, - "Backtick could not be run because of an IO error while launching `sh`:\n{}", + "Backtick could not be run because of an IO error while launching the shell:\n{}", io_error ), }?; @@ -481,17 +481,17 @@ impl<'src> ColorDisplay for Error<'src> { match io_error.kind() { io::ErrorKind::NotFound => write!( f, - "Recipe `{}` could not be run because just could not find `sh`: {}", + "Recipe `{}` could not be run because just could not find the shell: {}", recipe, io_error ), io::ErrorKind::PermissionDenied => write!( f, - "Recipe `{}` could not be run because just could not run `sh`: {}", + "Recipe `{}` could not be run because just could not run the shell: {}", recipe, io_error ), _ => write!( f, - "Recipe `{}` could not be run because of an IO error while launching `sh`: {}", + "Recipe `{}` could not be run because of an IO error while launching the shell: {}", recipe, io_error ), }?;