mirror of
https://github.com/denoland/deno.git
synced 2025-01-11 00:21:05 -05:00
Add @ for cleaner Batch files on Windows (#4764)
This commit is contained in:
parent
5ac728a5f1
commit
42c421f49d
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ fn generate_executable_file(
|
||||||
) -> Result<(), Error> {
|
) -> Result<(), Error> {
|
||||||
let args: Vec<String> = args.iter().map(|c| format!("\"{}\"", c)).collect();
|
let args: Vec<String> = args.iter().map(|c| format!("\"{}\"", c)).collect();
|
||||||
let template = format!(
|
let template = format!(
|
||||||
"% generated by deno install %\ndeno.exe {} %*\n",
|
"% generated by deno install %\n@deno.exe {} %*\n",
|
||||||
args.join(" ")
|
args.join(" ")
|
||||||
);
|
);
|
||||||
let mut file = File::create(&file_path)?;
|
let mut file = File::create(&file_path)?;
|
||||||
|
|
Loading…
Reference in a new issue