mirror of https://github.com/Jackett/Jackett
IWebClient: disable warning
This commit is contained in:
parent
7c0e22258a
commit
467eb453db
|
@ -86,7 +86,9 @@ namespace Jackett.Utils.Clients
|
||||||
return stringResult;
|
return stringResult;
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual protected async Task<WebClientByteResult> Run(WebRequest webRequest) { return null; }
|
#pragma warning disable CS1998 // Async method lacks 'await' operators and will run synchronously
|
||||||
|
virtual protected async Task<WebClientByteResult> Run(WebRequest webRequest) { throw new NotImplementedException(); }
|
||||||
|
#pragma warning restore CS1998 // Async method lacks 'await' operators and will run synchronously
|
||||||
|
|
||||||
abstract public void Init();
|
abstract public void Init();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue