Update sourcetreeapp.csx

This commit is contained in:
Konstantin Safonov 2021-01-17 05:04:03 +03:00 committed by GitHub
parent 8cb460728d
commit a432a0e786
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,7 +19,7 @@ var (a, b, c) = json.Params;
var urls = new[] { a, b, c };
Console.Out.WriteLine(
"download(" +
"downloads(" +
JsonSerializer.Serialize(
urls
.Select(a => new Uri(a))
@ -33,4 +33,4 @@ Console.Out.WriteLine(
.ToArray())+ ")");
public record Wrap(Params Params);
public record Params(string MacUrl, string WindowsUrl, string EnterpriseUrl);
public record Params(string MacUrl, string WindowsUrl, string EnterpriseUrl);