Ensure content is being read before written

This commit is contained in:
Manuel Thalmann 2023-07-03 00:58:21 +02:00
parent d85cea9cb2
commit 3644e43d76

View file

@ -246,7 +246,7 @@ class Context {
$accountSectionEntered = $false;
Get-Content $($this.GetNextcloudConfigFile()) | `
(Get-Content $($this.GetNextcloudConfigFile())) | `
ForEach-Object {
if ($_ -eq "[Accounts]") {
$accountSectionEntered = $true;