Skip to content

Commit d066f2f

Browse files
refactor
1 parent 716d608 commit d066f2f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/ViewModels/RepositoryConfigure.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -318,9 +318,8 @@ public async Task ChangeIssueTrackerShareModeAsync()
318318
return;
319319

320320
var filePath = Path.Combine(_repo.FullPath, ".issuetracker");
321-
var content = await File.ReadAllTextAsync(filePath);
322321

323-
if (!string.IsNullOrEmpty(content))
322+
if (!string.IsNullOrEmpty(await File.ReadAllTextAsync(filePath)))
324323
return;
325324

326325
if (File.Exists(filePath))

0 commit comments

Comments
 (0)