Skip to content

Commit

Permalink
ref: Improve error message if a project slug is missing (#1811)
Browse files Browse the repository at this point in the history
  • Loading branch information
cleptric authored Nov 9, 2023
1 parent f088666 commit 9c40716
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 9c40716

Please sign in to comment.