mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2025-01-11 23:57:21 -08:00
fix: typo
This commit is contained in:
parent
b06d14fec7
commit
810568e179
1 changed files with 2 additions and 2 deletions
|
@ -492,11 +492,11 @@ namespace SourceGit
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
// Fetch lastest release information.
|
// Fetch latest release information.
|
||||||
var client = new HttpClient() { Timeout = TimeSpan.FromSeconds(5) };
|
var client = new HttpClient() { Timeout = TimeSpan.FromSeconds(5) };
|
||||||
var data = await client.GetStringAsync("https://sourcegit-scm.github.io/data/version.json");
|
var data = await client.GetStringAsync("https://sourcegit-scm.github.io/data/version.json");
|
||||||
|
|
||||||
// Parse json into Models.Version.
|
// Parse JSON into Models.Version.
|
||||||
var ver = JsonSerializer.Deserialize(data, JsonCodeGen.Default.Version);
|
var ver = JsonSerializer.Deserialize(data, JsonCodeGen.Default.Version);
|
||||||
if (ver == null)
|
if (ver == null)
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue