Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Sep 12, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cli/flags.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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")
Expand Down
5 changes: 0 additions & 5 deletions cli/tests/031_info_no_check.out

This file was deleted.

5 changes: 5 additions & 0 deletions cli/tests/031_info_ts_error.out
Original file line number Diff line number Diff line change
@@ -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])
File renamed without changes.
6 changes: 3 additions & 3 deletions cli/tests/integration_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down