Skip to content

Commit 1b6565d

Browse files
Update crates/turborepo-lib/src/cli/mod.rs
Co-authored-by: Chris Olszewski <[email protected]>
1 parent 4c650af commit 1b6565d

File tree

1 file changed

+3
-3
lines changed
  • crates/turborepo-lib/src/cli

1 file changed

+3
-3
lines changed

crates/turborepo-lib/src/cli/mod.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ pub enum Command {
587587
Boundaries {
588588
#[clap(short = 'F', long, group = "scope-filter-group")]
589589
filter: Vec<String>,
590-
#[clap(long, value_enum, default_missing_value = "prompt", num_args = 0..=1)]
590+
#[clap(long, value_enum, default_missing_value = "prompt", num_args = 0..=1, require_equals = true)]
591591
ignore: Option<BoundariesIgnore>,
592592
#[clap(long, requires = "ignore")]
593593
reason: Option<String>,
@@ -3347,8 +3347,8 @@ mod test {
33473347

33483348
#[test_case::test_case(&["turbo", "boundaries"], true; "empty")]
33493349
#[test_case::test_case(&["turbo", "boundaries", "--ignore"], true; "with ignore")]
3350-
#[test_case::test_case(&["turbo", "boundaries", "--ignore", "all"], true; "with ignore all")]
3351-
#[test_case::test_case(&["turbo", "boundaries", "--ignore", "prompt"], true; "with ignore prompt")]
3350+
#[test_case::test_case(&["turbo", "boundaries", "--ignore=all"], true; "with ignore all")]
3351+
#[test_case::test_case(&["turbo", "boundaries", "--ignore=prompt"], true; "with ignore prompt")]
33523352
#[test_case::test_case(&["turbo", "boundaries", "--filter", "ui"], true; "with filter")]
33533353
fn test_boundaries(args: &[&str], is_okay: bool) {
33543354
let os_args = args.iter().map(|s| OsString::from(*s)).collect();

0 commit comments

Comments
 (0)