mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-22 20:54:59 +00: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…
Add table
Add a link
Reference in a new issue