1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 15:24:46 -05:00

chore: remove --no-check from deno info (#7439)

This commit is contained in:
Luca Casonato 2020-09-12 23:34:54 +02:00 committed by GitHub
parent d048f58f05
commit 82d0f7ec84
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 10 additions and 10 deletions

View file

@ -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")

View file

@ -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])

View 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])

View file

@ -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 {