From 849cdcb37fb42feb5e8724ec9fb3b34027e0da4f Mon Sep 17 00:00:00 2001 From: Casey Rodarmor Date: Tue, 6 Nov 2018 00:41:33 -0800 Subject: [PATCH] Bump version: 0.3.12 -> 0.3.13 (#371) --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/runtime_error.rs | 8 +++++++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7ad7ff3..aa03e8f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -190,7 +190,7 @@ dependencies = [ [[package]] name = "just" -version = "0.3.12" +version = "0.3.13" dependencies = [ "ansi_term 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", "assert_matches 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)", diff --git a/Cargo.toml b/Cargo.toml index 14fbbb3..f316993 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "just" -version = "0.3.12" +version = "0.3.13" description = "🤖 Just a command runner" authors = ["Casey Rodarmor "] license = "CC0-1.0" diff --git a/src/runtime_error.rs b/src/runtime_error.rs index 277f4e4..ac982a2 100644 --- a/src/runtime_error.rs +++ b/src/runtime_error.rs @@ -23,7 +23,13 @@ fn write_token_error_context(f: &mut fmt::Formatter, token: &Token) -> Result<() #[derive(Debug)] pub enum RuntimeError<'a> { - ArgumentCountMismatch{recipe: &'a str, parameters: Vec<&'a Parameter<'a>>, found: usize, min: usize, max: usize}, + ArgumentCountMismatch{ + recipe: &'a str, + parameters: Vec<&'a Parameter<'a>>, + found: usize, + min: usize, + max: usize, + }, Backtick{token: Token<'a>, output_error: OutputError}, Code{recipe: &'a str, line_number: Option, code: i32}, Cygpath{recipe: &'a str, output_error: OutputError},