diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2024-09-03 09:15:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-03 08:15:26 +0000 |
commit | e49d80e500c384b381c375900060e5a476581541 (patch) | |
tree | 032064a7ac1a8580e089d4bf67aef4076196e52c /cli/standalone/binary.rs | |
parent | 5f08d634f73fab21c17cc02f3f3bf8e8b531eee8 (diff) |
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.
Diffstat (limited to 'cli/standalone/binary.rs')
-rw-r--r-- | cli/standalone/binary.rs | 3 |
1 files changed, 0 insertions, 3 deletions
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<NodeModules>, - 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(), |