mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 07:14:47 -05:00
chore: remove --no-check from deno info (#7439)
This commit is contained in:
parent
d048f58f05
commit
82d0f7ec84
5 changed files with 10 additions and 10 deletions
|
@ -478,7 +478,6 @@ fn info_parse(flags: &mut Flags, matches: &clap::ArgMatches) {
|
|||
ca_file_arg_parse(flags, matches);
|
||||
unstable_arg_parse(flags, matches);
|
||||
let json = matches.is_present("json");
|
||||
no_check_arg_parse(flags, matches);
|
||||
flags.subcommand = DenoSubcommand::Info {
|
||||
file: matches.value_of("file").map(|f| f.to_string()),
|
||||
json,
|
||||
|
@ -874,7 +873,8 @@ TypeScript compiler cache: Subdirectory containing TS compiler output.",
|
|||
.arg(Arg::with_name("file").takes_value(true).required(false))
|
||||
.arg(reload_arg().requires("file"))
|
||||
.arg(ca_file_arg())
|
||||
.arg(no_check_arg())
|
||||
// TODO(lucacasonato): remove for 2.0
|
||||
.arg(no_check_arg().hidden(true))
|
||||
.arg(unstable_arg())
|
||||
.arg(
|
||||
Arg::with_name("json")
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
[WILDCARD]
|
||||
local: [WILDCARD]031_info_no_check.ts
|
||||
type: TypeScript
|
||||
deps: 0 unique (total [WILDCARD])
|
||||
[WILDCARD]031_info_no_check.ts ([WILDCARD])
|
5
cli/tests/031_info_ts_error.out
Normal file
5
cli/tests/031_info_ts_error.out
Normal file
|
@ -0,0 +1,5 @@
|
|||
[WILDCARD]
|
||||
local: [WILDCARD]031_info_ts_error.ts
|
||||
type: TypeScript
|
||||
deps: 0 unique (total [WILDCARD])
|
||||
[WILDCARD]031_info_ts_error.ts ([WILDCARD])
|
|
@ -1518,9 +1518,9 @@ itest!(_030_eval_ts {
|
|||
output: "030_eval_ts.out",
|
||||
});
|
||||
|
||||
itest!(_031_info_no_check {
|
||||
args: "info --no-check 031_info_no_check.ts",
|
||||
output: "031_info_no_check.out",
|
||||
itest!(_031_info_ts_error {
|
||||
args: "info 031_info_ts_error.ts",
|
||||
output: "031_info_ts_error.out",
|
||||
});
|
||||
|
||||
itest!(_033_import_map {
|
||||
|
|
Loading…
Reference in a new issue