From 42c421f49dcb7cd2e54ef590b0da6bf9004b696c Mon Sep 17 00:00:00 2001 From: trgwii Date: Thu, 16 Apr 2020 07:42:09 +0200 Subject: [PATCH] Add @ for cleaner Batch files on Windows (#4764) --- cli/installer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/installer.rs b/cli/installer.rs index 5337ecd4a9..ff795f2dc0 100644 --- a/cli/installer.rs +++ b/cli/installer.rs @@ -48,7 +48,7 @@ fn generate_executable_file( ) -> Result<(), Error> { let args: Vec = args.iter().map(|c| format!("\"{}\"", c)).collect(); let template = format!( - "% generated by deno install %\ndeno.exe {} %*\n", + "% generated by deno install %\n@deno.exe {} %*\n", args.join(" ") ); let mut file = File::create(&file_path)?;