diff options
author | trgwii <trgwii@hotmail.com> | 2020-04-16 07:42:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-16 01:42:09 -0400 |
commit | 42c421f49dcb7cd2e54ef590b0da6bf9004b696c (patch) | |
tree | c6b4027039aa394f542cedb5e2fc8473ec66d894 | |
parent | 5ac728a5f1af575d011c2143f5c9273b0fb4c5bb (diff) |
Add @ for cleaner Batch files on Windows (#4764)
-rw-r--r-- | cli/installer.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/installer.rs b/cli/installer.rs index 5337ecd4a..ff795f2dc 100644 --- a/cli/installer.rs +++ b/cli/installer.rs @@ -48,7 +48,7 @@ fn generate_executable_file( ) -> Result<(), Error> { let args: Vec<String> = 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)?; |