Fix compilation error

This commit is contained in:
Timothy Baldridge 2020-07-13 16:10:54 -06:00
parent 7bbcbfdbb3
commit f56956523f

View File

@ -21,7 +21,6 @@ namespace Wabbajack.Lib
public static async ValueTask<string> GetMetricsKey()
{
TOP:
using var _ = await _creationLock.WaitAsync();
if (!Utils.HaveEncryptedJson(Consts.MetricsKeyHeader))
{
@ -72,7 +71,7 @@ namespace Wabbajack.Lib
{
// Probably an encryption error
await Utils.DeleteEncryptedJson(Consts.MetricsKeyHeader);
goto TOP;
return await GetMetricsKey();
}
}