summaryrefslogtreecommitdiff
path: root/cli/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/main.rs')
-rw-r--r--cli/main.rs11
1 files changed, 5 insertions, 6 deletions
diff --git a/cli/main.rs b/cli/main.rs
index 319811460..f33bdd3a9 100644
--- a/cli/main.rs
+++ b/cli/main.rs
@@ -319,7 +319,6 @@ async fn compile_command(
output: Option<PathBuf>,
args: Vec<String>,
target: Option<String>,
- lite: bool,
) -> Result<(), AnyError> {
if !flags.unstable {
exit_unstable("compile");
@@ -360,9 +359,9 @@ async fn compile_command(
module_specifier.to_string()
);
- // Select base binary based on `target` and `lite` arguments
+ // Select base binary based on target
let original_binary =
- tools::standalone::get_base_binary(deno_dir, target.clone(), lite).await?;
+ tools::standalone::get_base_binary(deno_dir, target.clone()).await?;
let final_bin = tools::standalone::create_standalone_binary(
original_binary,
@@ -1096,10 +1095,10 @@ fn get_subcommand(
source_file,
output,
args,
- lite,
target,
- } => compile_command(flags, source_file, output, args, target, lite)
- .boxed_local(),
+ } => {
+ compile_command(flags, source_file, output, args, target).boxed_local()
+ }
DenoSubcommand::Coverage {
files,
ignore,