From e49d80e500c384b381c375900060e5a476581541 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Tue, 3 Sep 2024 09:15:26 +0100 Subject: chore: cleanup code for deprecation notices in JS code (#25368) This code hasn't been used in some time, so I cleaned as much of it as possible. --- cli/standalone/binary.rs | 3 --- 1 file changed, 3 deletions(-) (limited to 'cli/standalone/binary.rs') diff --git a/cli/standalone/binary.rs b/cli/standalone/binary.rs index 9d2c0781a..45d9b7c63 100644 --- a/cli/standalone/binary.rs +++ b/cli/standalone/binary.rs @@ -117,7 +117,6 @@ pub struct Metadata { pub workspace_resolver: SerializedWorkspaceResolver, pub entrypoint_key: String, pub node_modules: Option, - pub disable_deprecated_api_warning: bool, pub unstable_config: UnstableConfig, } @@ -624,8 +623,6 @@ impl<'a> DenoCompileBinaryWriter<'a> { pkg_json_resolution: self.workspace_resolver.pkg_json_dep_resolution(), }, node_modules, - disable_deprecated_api_warning: cli_options - .disable_deprecated_api_warning, unstable_config: UnstableConfig { legacy_flag_enabled: cli_options.legacy_unstable_flag(), bare_node_builtins: cli_options.unstable_bare_node_builtins(), -- cgit v1.2.3