Fix syntax error

This commit is contained in:
Manuel Thalmann 2023-07-03 00:35:40 +02:00
parent b37430fa2b
commit 0a7851fabe

View file

@ -244,12 +244,13 @@ class Context {
$configName += "WithPlaceholders"; $configName += "WithPlaceholders";
} }
Add-Content -Path $($this.GetNextcloudConfigFile()) ` Add-Content $($this.GetNextcloudConfigFile()) `
-Value [string]::Join( -Value (
"`n", [string]::Join(
@( "`n",
"0\$configName\$folderID\localPath=$localPath", @(
"0\$configName\$folderID\targetPath=$targetPath")); "0\$configName\$folderID\localPath=$localPath",
"0\$configName\$folderID\targetPath=$targetPath")));
Start-Process $nextcloudPath; Start-Process $nextcloudPath;
} }