Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit f3bb2f8

Browse files
committed
Resume is only if we actually had some existing data :P
1 parent 2693fb8 commit f3bb2f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GitHub.Api/Tasks/DownloadTask.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public static bool Download(ILogging logger, UriString url,
8282
{
8383
long bytes = destinationStream.Length;
8484

85-
var expectingResume = bytes >= 0;
85+
var expectingResume = bytes > 0;
8686

8787
var webRequest = (HttpWebRequest)WebRequest.Create(url);
8888

0 commit comments

Comments
 (0)