We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 716d608 commit d066f2fCopy full SHA for d066f2f
src/ViewModels/RepositoryConfigure.cs
@@ -318,9 +318,8 @@ public async Task ChangeIssueTrackerShareModeAsync()
318
return;
319
320
var filePath = Path.Combine(_repo.FullPath, ".issuetracker");
321
- var content = await File.ReadAllTextAsync(filePath);
322
323
- if (!string.IsNullOrEmpty(content))
+ if (!string.IsNullOrEmpty(await File.ReadAllTextAsync(filePath)))
324
325
326
if (File.Exists(filePath))
0 commit comments