diff --git a/cli/tools/installer.rs b/cli/tools/installer.rs index 7547437a3e..747d9cbc00 100644 --- a/cli/tools/installer.rs +++ b/cli/tools/installer.rs @@ -55,7 +55,7 @@ fn generate_executable_file( ) -> Result<(), AnyError> { let args: Vec = args.iter().map(|c| format!("\"{}\"", c)).collect(); let template = format!( - "% generated by deno install %\n@deno.exe {} %*\n", + "% generated by deno install %\n@deno {} %*\n", args .iter() .map(|arg| arg.replace("%", "%%"))