From 0a7851fabeaa7103a262aae6e6121be088a77c5d Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Mon, 3 Jul 2023 00:35:40 +0200 Subject: [PATCH] Fix syntax error --- scripts/Windows/Scripts/Context.ps1 | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/scripts/Windows/Scripts/Context.ps1 b/scripts/Windows/Scripts/Context.ps1 index 028a199c..00fc126b 100644 --- a/scripts/Windows/Scripts/Context.ps1 +++ b/scripts/Windows/Scripts/Context.ps1 @@ -244,12 +244,13 @@ class Context { $configName += "WithPlaceholders"; } - Add-Content -Path $($this.GetNextcloudConfigFile()) ` - -Value [string]::Join( - "`n", - @( - "0\$configName\$folderID\localPath=$localPath", - "0\$configName\$folderID\targetPath=$targetPath")); + Add-Content $($this.GetNextcloudConfigFile()) ` + -Value ( + [string]::Join( + "`n", + @( + "0\$configName\$folderID\localPath=$localPath", + "0\$configName\$folderID\targetPath=$targetPath"))); Start-Process $nextcloudPath; }