Skip to content

Commit

Permalink
fix: add empty array when creating file
Browse files Browse the repository at this point in the history
  • Loading branch information
Miguelito2774 committed Sep 13, 2024
1 parent a272420 commit 989074c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ docs/
.git/
node_modules/
coverage/
Resources/
coverage.cobertura.xml
test/DistributionCenter.Application.Tests/Resources
DistributionCenter.sln.DotSettings.user
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ public async Task<string> OpenFileAsync()
}

await File.Create(_completedFilePath).DisposeAsync();
await File.WriteAllTextAsync(_completedFilePath, "[]");
}
return await File.ReadAllTextAsync(_completedFilePath);
}
Expand Down

0 comments on commit 989074c

Please sign in to comment.