1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-23 07:44:48 -05:00

Add @ for cleaner Batch files on Windows (#4764)

This commit is contained in:
trgwii 2020-04-16 07:42:09 +02:00 committed by GitHub
parent 5ac728a5f1
commit 42c421f49d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)?;