mirror of
https://github.com/denoland/deno.git
synced 2025-03-03 09:31:22 -05:00
chores(cli/fmt): make --ignore stable (#7922)
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
This commit is contained in:
parent
17eaede643
commit
d592c128cf
2 changed files with 1 additions and 4 deletions
|
@ -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)
|
||||
|
|
|
@ -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())
|
||||
|
|
Loading…
Add table
Reference in a new issue