diff options
-rw-r--r-- | cli/flags.rs | 1 | ||||
-rw-r--r-- | cli/tests/integration_tests.rs | 4 |
2 files changed, 1 insertions, 4 deletions
diff --git a/cli/flags.rs b/cli/flags.rs index 07707ae6c..e0eae867c 100644 --- a/cli/flags.rs +++ b/cli/flags.rs @@ -694,7 +694,6 @@ Ignore formatting a file by adding an ignore comment at the top of the file: .arg( Arg::with_name("ignore") .long("ignore") - .requires("unstable") .takes_value(true) .use_delimiter(true) .require_equals(true) diff --git a/cli/tests/integration_tests.rs b/cli/tests/integration_tests.rs index 8956d3f7b..26772338c 100644 --- a/cli/tests/integration_tests.rs +++ b/cli/tests/integration_tests.rs @@ -441,7 +441,6 @@ fn fmt_test() { .current_dir(util::root_path()) .arg("fmt") .arg(format!("--ignore={}", badly_formatted_str)) - .arg("--unstable") .arg("--check") .arg(badly_formatted_str) .spawn() @@ -2237,7 +2236,7 @@ itest!(fmt_check_formatted_files { }); itest!(fmt_check_ignore { - args: "fmt --check --unstable --ignore=fmt/formatted1.js fmt/", + args: "fmt --check --ignore=fmt/formatted1.js fmt/", output: "fmt/expected_fmt_check_ignore.out", exit_code: 0, }); @@ -4053,7 +4052,6 @@ fn fmt_ignore_unexplicit_files() { let output = util::deno_cmd() .current_dir(util::root_path()) .arg("fmt") - .arg("--unstable") .arg("--check") .arg("--ignore=./") .stderr(std::process::Stdio::piped()) |