From 200cb4ee26cb8bd433151937960964bb51c1f943 Mon Sep 17 00:00:00 2001 From: Casey Rodarmor Date: Sun, 7 May 2017 14:50:46 -0700 Subject: [PATCH] Add period to empty justfile error message (#192) --- src/app.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app.rs b/src/app.rs index b897b6f..594f8b3 100644 --- a/src/app.rs +++ b/src/app.rs @@ -16,6 +16,7 @@ macro_rules! warn { let _ = writeln!(&mut std::io::stderr(), $($arg)*); }}; } + macro_rules! die { ($($arg:tt)*) => {{ extern crate std; @@ -335,7 +336,7 @@ pub fn app() { } else if let Some(recipe) = justfile.first() { vec![recipe] } else { - die!("Justfile contains no recipes"); + die!("Justfile contains no recipes."); }; let options = RunOptions {