From 9c5f0bc56802bf8779e72624c16d2e7d102cbde3 Mon Sep 17 00:00:00 2001 From: Michael Hoffmann Date: Thu, 9 Nov 2023 12:54:29 +0100 Subject: [PATCH] ref: Improve error message if a project slug is missing --- src/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.rs b/src/config.rs index e43c071731..110ce08b76 100644 --- a/src/config.rs +++ b/src/config.rs @@ -439,7 +439,7 @@ impl Config { .get_from(Some("defaults"), "project") .map(str::to_owned) }) - .ok_or_else(|| format_err!("A project slug is required")) + .ok_or_else(|| format_err!("A project slug is required (provide with --project)")) } /// Return the default pipeline env.